Beginners (Page 5)

Different data on different files?
 
Hi, I am developing a game that has many things to be saved. Should I save every thing onto one...
[6 replies] Last: Thank you Chervil (by SourceCoded)
Random Number between 60 and 100
 
I need to be able to make a random number between 60 and 100 but my code is not cutting it. I think ...
[3 replies] Last: Thanks man, worked like a charm (by El zorro Gris)
by bobr
Please Help! (second part of code is in comments bellow)
 
can someone help me fine tune this code a little more!? this code converts units and uses pass by re...
[1 reply] : void weight_to_us(ConversionType conversion) { int kilograms,... (by bobr)
Having trouble trying to write to a binary file
 
OK, I've been working on a small game project and I got stuck when trying to add a 'high score' fea...
[5 replies] Last: @Chervil: I tried your code and it worked. Thanks a lot! Also, thanks... (by oldcrow)
by Snolla
What did I do wrong here?
 
I just started learning C++ (any code for that matter, I'm an sound guy by trade) and this is day 5 ...
[4 replies] Last: Thanks everyone :) Fixed it right up (by Snolla)
help with school looping question.
 
I have a project due for school and I'm having a tough time with the logic. I think I need a loop fo...
[7 replies] Last: You should try to code it instead of just listing the things. And it s... (by giblit)
by Oppo
Counting 0's and 1's
 
I am trying to make a program where the user inputs binary, and the programs outputs the total numbe...
[3 replies] Last: It worked perfectly! Thank you very much. (by Oppo)
Static variables inside classes?
 
I have some code where in my main function I create an array of objects using a for loop. I would li...
[3 replies] Last: If your program was written in C++ then this declaration of the array ... (by vlad from moscow)
c++ iterator skype chat!
 
Hello,can anyone explain me about iterator? I know a little bit about it, but wouldn't be able to c...
[3 replies] Last: An iterator is a concept which is designed to transverse, and possibly... (by Framework)
error statement cannot resolve address of overloaded function
 
i have written this code for finding the day of week on any date but it is showing error statement c...
[3 replies] Last: thanks JockX and vlad from moscow , the code finally worked however it... (by harshalp)
c++ project for school
 
I need to develop a code for a project that has six separate programs that enhance off of it. using ...
[11 replies] Last: we're not here to do your homework for you. If you want help code some... (by giblit)
Confusion Accessing Singleton Class Members
 
Hi, LeafyCircuits here! Comp specs: OS: Windows 7 Home Premium 64-bit Compiler: GNU gcc with IS...
[2 replies] Last: keskiverto said: Line 17. Why don't you want to return the insta... (by LeafyCircuits)
help with using a set()!!
 
I have an additional txt file that i need to read into my cpp file by using a set. Im not understand...
[4 replies] Last: @Bourgond, agreed. I was just not sure if the OP was using a C++11 com... (by zlogdan)
Random number issues.
 
I am learning c++ ahead of some classes on it. I have written a few text based rpgs and now I am tr...
[5 replies] Last: Thanks. That fixed it. It makes complete sense too. Also thank yo... (by TeaReks)
IPv4
 
Hi guys i just go through the one of the code which was written in functions. i tried to do in class...
[2 replies] Last: What exactly is your error and question? And please edit your post, an... (by ResidentBiscuit)
Help with Salary Program
 
Hello, so I've been having some difficulties with a C++ programming assignment. We have to create a...
[1 reply] : Hey If it is compiling you can debug it! First try to calculate... (by zlogdan)
Problem with classes
 
I was trying to access the classes from different files. So , like a normal procedure, I made a new ...
[2 replies] Last: Did you make sure you added the files to your project file? This is di... (by Daleth)
If Else - Else not working.
 
So obviously I'm a beginner at programming and we're writing a program for one of my classes. I fee...
[8 replies] Last: It stops at printf ("error\n"); like it's trying to calculate the ar... (by Daleth)
Static variables
 
In the below example, why is statloc not reinitialised and is it incremented in the last call to voi...
[4 replies] Last: So it is incremented and static variables can only be initialised once... (by Ramzi89)
Appending a file ios::app
 
Hi, This is my first post. Hope someone can help. I am trying to append a txt file I created in w...
[4 replies] Last: Probably your program was being run with a different working directory... (by L B)
Pages: 1... 34567... 118
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.