Beginners - March 2010 (Page 14)

ways to stop a running clock
 
hi everyone i wonder, is there anyway to stop an unfinite loop of a running time #include<iostream> #include<windows.h> using namespace std; void ...
[5 replies] Last: It does exactly what I said it does in the thread you got it from. Try... (by Duthomhas)
Information related to String
 
Hi List, I am writing an importer for IGES[initial graphics exchange specification] and I am reading the data in strings. Now I want to break the string data i...
[1 reply] : string::copy requires you to allocate a char . string::substr should d... (by hamsterman)
by caldin
assignment operator
 
hey guys, i'm working in streams (as i stated in an earlier post), and i'm trying to define the assignment operator. Paragraph &Paragraph::operator =(co...
[9 replies] Last: istream &operator >>(istream &inStream, const Paragraph &para) // if... (by Disch)
Self studying Programming
 
Hi, I am self studying c++ and currently I am having a great time. I am not an IT graduate (i'm an economics grad) but I now realize I'm really for programming ...
[4 replies] Last: I'm from the Philippines. Economics jobs are very competitive and I mu... (by joniii247)
if / else problem!
 
Hi all. I'm having a bit of trouble executing a if / else statement with multiple if's. I think its just a problem with the way the brackets are set up. Here's ...
[3 replies] Last: Thanks for the help guys. Setting it up using the else if structure wo... (by Flat Four)
Keeping track of values while dealing cards
 
Hello, I am trying to create a program to run a simple blackjack game that runs a series of hands by itself. The problem that I am having is that I can deal the...
[2 replies] Last: You need to have a list of cards available, and for each player you ne... (by Duthomhas)
by tysonc
Advice for c++ project
 
Hey guys I'm working on a project for a beginner c++ class where we have to take a line of a bowling score (ex. XXX9/X81XX9/XXX) and output it into the 10 fr...
[1 reply] : You should be able to handle all the frames generically, with a single... (by jsmith)
Bus Error
 
I keep getting a bus error when I run the program with its client (robot.cpp). Something to do with curptr -> info in FillBuckets, I think, or possibly the type...
[1 reply] : In void Buckets::SetUpBuckets(int number) , you have construct for (... (by kbw)
by JXlin
signed/unsigned mismatch error
 
This is a real basic problem. Basically it's telling me that strlen(stamp.country) is not an int. stamp is a struct and country is a c string. I haven't tried p...
[5 replies] Last: Thanks for the replies guys, it helped. (by JXlin)
Music CD burning project
 
I'm trying to write a music cd burning program but I'm getting a line before each output line in error. Any suggestions? #include <iostream> #include <fs...
[7 replies] Last: My guess is you're looking for data that is smaller than your data typ... (by ragn4rok234)
I heve a quetion
 
Hallo, how can I ask the user to enter his or her name?? please help me
[6 replies] Last: Here is a great tutorial on this very site on the subject. http://cplu... (by ragn4rok234)
Libraries conflict
 
Hi Friends, I have one c++ application which requires some libraries, and I have another application in which I want to use first application + libraries whi...
[2 replies] Last: He is on Unix, so the Windows stuff won't help. Will the first appl... (by Duthomhas)
by billy1
getting months right
 
I have been writing a calendar program and the next stage is to ammend the zeller function so that the user can enter the month in conventional format. for exam...
[4 replies] Last: No. There should only be one Zeller function. The Zeller function... (by Duthomhas)
How do I take off fixed, and precision?
 
I have a loop going and at the end it displays some numbers and one percent. I want the percent rounded to two decimal places, not the other numbers. The ...
[3 replies] Last: Actually, I directed you to the wrong stuff. Sorry about that. I just ... (by tummychow)
How do I do this?
 
The program I have to write is one with this given scenario........ If someone was drawing 50 balls from a bucket, each number would represent a persons name. ...
[2 replies] Last: [quote=kuku829]If someone was drawing 50 balls from a bucket, each num... (by Return 0)
by waynev
if, else if statements
 
#include "lesson1.h" int main() { int age; cout<< "enter your age; "; cin >> age; cin.ignore(); if (age <100) { cout<< "true\n";...
[4 replies] Last: Sorry for all the edits, but I did not want to flamed. any how thanks... (by waynev)
work with text file (1,2)
 
Hello!I have to check one txt file for simetrical words(like 1221 or abccba) and put these simetrical words into other file.End of word is ().,!? or space I ...
[23 replies] Last: http://www.cplusplus.com/forum/beginner/15383/ (by BettyBoopTS)
Segmentation error of copied object
 
I have an object called BoatShop that contains an array of pointers to objects which are Boats. Boats is a virtual class, and the array is populated with MotorB...
[1 reply] : I found a solution. (by hadoque)
Pthreads?
 
Hi there, I'm getting started in threads programming and dunno where I can find the Pthreads library for both Windows and Unix/Linux. Does gcc has this libra...
[1 reply] : pthreads library for Windows: http://sourceware.org/pthreads-win32/ ... (by Danielsson)
by billy1
wont output right?
 
the zeller function wont work? any help please? #include "stdafx.h" #include <iostream> using namespace std; #include <iomanip> void output_month(...
[2 replies] Last: do { cout << "Input number of days: "; cin >> j; } while ((j > 3... (by Return 0)
March 2010 Pages: 1... 1213141516... 34
  Archived months: [feb2010] [apr2010]

This is an archived page. To post a new message, go to the current page.