Hi
I have recently had a interest in programming and have decided at my ripe old age to take the plunge into C++. I have installed Visual C++ 2010 express and using it as my complier. I have been following the tutorials on this site and online and have been making a bit of progress in programming. However I am confused as to how you go about in actually executing a program. If for example I was to create a program for a simple game such tic tac toe how would you actually convert the program into the game. Basically all I have been doing up to this point is learning the steps in programming and pressing debug to see the results.
Please understand I am totally new at this and just doing it as a hobby. I feel I am missing a step somewhere in the programming process and would appreciate any input members could provide.
Thanks
When you hit the run button in your IDE, it compiles the program and creates an binary, then runs that for you. If you go look into your project folder you can find the executable it created there.
If you're using VC++ 2010 express, under the debug menu click on "start without debugging" to see your program execute without debugging. However to build an executable you have to change the build target to "Release" and a .exe will be output to your project directory. If you click on this application it will run even if your IDE is not open.