Moving the getchar(); worked. Thanks for the help
Type: Posts; User: aewing30
Moving the getchar(); worked. Thanks for the help
ok thanks i'll try moving the getchar(). I would execute it through the command prompt except im coding in school where they don't allow students to access the command prompt.
It certainly sounds nice. I have recently purchased a lenovo ideapad laptop and I am thoroughly pleased with it. The online support is great and it has great hardware. I would definitely recommend...
THis is some code I was writing to open a txt file and read the numbers in. It compiles fine but when I run it the console only comes up for a split second and then disappears again. If anyone wants...
I'm trying to learn c#. i have experience in c++ and javascript. could someone please let me know of a book that would be good for a person with my skill level?
Its practical c++ programming. And so far its been a great book for learners. thanks ill take a look at that new one
If you are using multiple if statements I think using the switch would be the best option. It would clean up the program and make it more efficient than multiple if statements
I'm learning c++ myself out of a c++ book but when i got to the file and data storage chapter i got completely lost. The book does not give a very good explanation of the whole fstream, ifstream,...
well i'm doing it as a project in a programming class. I need to use c++. what is a relational database?
So I would use std::ofstream to save the data to a file and then open the console and use ifstream to load the file again, or would I need to do an if statement or somethin like that in order to load...
I am working on a C++ project to make a statistics spreadsheet i.e. for a sports team. I need to know how to store data once it is entered. For instance I would like to be able to enter a stat like...