I had a question on here earlier about why my program was printing funny symbols, instead of numbers, and someone suggested it was because I had my struct declared as strings, and also to use...
Type: Posts; User: rjcarmo
I had a question on here earlier about why my program was printing funny symbols, instead of numbers, and someone suggested it was because I had my struct declared as strings, and also to use...
Ok, well it worked for the sample program I did. But for my major assignment I tried using vectors but it didn't work. I read up a little on vectors, and the problem I'm having is that by the...
Thanks! It's all working now. :-)
Hi, in the following program, the random numbers once stored in the array, aren't storing as integers!! I have no idea why. I tried testing it by printing to the screen what the random number was...
Actually, I didn't work it out. I just found someone elses post on here with the same problem.
I changed cardFile.open(fileName);
to cardFile.open(fileName.c_str());
Don's ask me what it...
Don't mind me, I'm just an idiot!!! I tried using that <code> tag thing, but it didn't work!!
How do you use code tags?
This is probably a really silly question (as I'm only a beginner at this!), but I'm having major dramas with reading textfiles.
The thing is, I can get it to work, if I use the following code:...