0
How to run an c++ program by just clicking it without running it in an IDE.
can you tell me how to run a program by just clicking the program icon at the desktop rather than running it in an IDE.
2 Respostas
+ 4
you cant do that with a new c++ program it must be compiled first. Once it has been compiled you can run it from the icon. If you are using an IDE like codeBlocks when you compile it it actually puts the compiled program in the bin folder and runs that. if you just copy that out of the bin folder you can run it by double clicking it!
+ 1
According to operating system you are using create a shortcut to the compiled C++ program.