General C++ Programming - May 2015 (Page 19)

ATM machine not exiting due thursday
 
So my project is to include 2 accounts checking and savings that both start at 1000 and can have fun...
[3 replies] Last: okay so I am redoing this project as I need to use a header file with ... (by jlivecchi)
Executing a file or program
 
Hi Is there a way I can lunch/execute a program or text file with my cpp code?
[3 replies] Last: system("test.exe"); worked just fine tnx (by N495t4r)
QUESTION: ifstream of char variable
 
char id , g ; double h , w ; char ID, gender; double height, weight; cout << "To complete enteri...
[2 replies] Last: Sorry to waste your time, I found multiple error with the entire progr... (by TowisaurousRex)
sfml- warning
 
I star to learn sfml(C::B, win7). #include<SFML/Window.hpp> #include <SFML/OpenGL.hpp> #include<io...
[8 replies] Last: You're welcome! Glad we could help. (by MikeyBoy)
snake game
 
I'm trying to figure out where to go from here, its not homework just personal project im working on...
[6 replies] Last: this is my newest error srand(time(NULL)); int pellet = rand();//p... (by ArtisticMess)
True or False Question about Inheritance
 
True or False:- For a C++ Derived Class to override an inherited member function, the base class is ...
[17 replies] Last: [quote=newbiee999]True or False:- For a C++ Derived Class to override ... (by closed account z05DSL3A)
by Winsu
Reorder My object composed by vectors
 
Hello, everyone, I have a class composed by vectors,One of them is called order. As well I have sev...
[no replies]
Comparing integer with string
 
Hi guys, I am troubled in understanding why I cannot compare an int with a string and can you please...
[2 replies] Last: char mood; char orientation; cout<<"Insert Age"<<endl; cin>>age; ... (by naraku9333)
by eden20
Text Adventure Game
 
Hello. Recently we started studying programming at school, so I am a total noob, i have tried making...
[no replies]
What could I have done better?
 
Below is the code that I submitted last night for one of my class projects. What could I have done d...
[3 replies] Last: 30 & 34: The prompt says that the username should be the first charac... (by Gamer2015)
Input from Text file, Edit input, Ouput to new file
 
Hello! My professor gave an assignment where I needed to use data from an existing text file, edit i...
[2 replies] Last: Thank you! Where would I go for help with homework on this site? (by Lyserge)
Reverse function
 
Hello, I`m learning with the Kernighan and Ritchie the C programming language and I need to write...
[3 replies] Last: I thought if there is a cooler way to do this, at the same time making... (by pacman169)
Can somebody tell me what I am doing wrong?
 
The Question was Write an assembly language program that corresponds to the following C++ program...
[1 reply] : what am I not doing right??? You are not posting on an assembly foru... (by mutexe)
by ITR
Multiple definitions in same row
 
I'm trying to make a physics-ish, thingy, where I imported something from a different program I made...
[8 replies] Last: Oh, never mind, had to declare them in the cpp file too, and not assig... (by ITR)
question regarding arrays
 
Hello, so in an array, what is the formula or syntax in order to find/output the biggest and the sm...
[3 replies] Last: Add them all together and divide by size. To add an array together, ... (by TwilightSpectre)
My Game
 
Hello Iam making a memory matching game but I need help making the board I am making it as a 2 dim ...
[1 reply] : I don't know where to go from here You can do it! ;) Also I need h... (by Gamer2015)
How to access elements lower on a chain of inheritance?
 
Okay the title is kind of vague so I'll do my best to explain. I'm writing the framework for a basic...
[18 replies] Last: Hi, I am sure your code will be fine up to a point. However using Des... (by TheIdeasMan)
ostringstream memory increase
 
When the function "rinexSatLine" is running ,the memory is always increasing。Finally, the error "s...
[1 reply] : try to print out the size of the QVector, maybe that's accidently a hu... (by Gamer2015)
arrays?
 
Iam trying to print out an array using a for loop and it works but there is extra numbers after it I...
[2 replies] Last: The problem is that you check i <= 10 You only have 10 elements in y... (by Gamer2015)
switching the program when button is pressed
 
Hello everybody! Hey, I have another question! I have a button and LED. I'd like to change the patte...
[1 reply] : first off: notice that there is an else-if statement and that you can ... (by Gamer2015)
May 2015 Pages: 1... 171819202122
  Archived months: [apr2015] [jun2015]

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