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.

14th Dec 2016, 1:12 PM
Leon lit
Leon lit - avatar
2 Respuestas
+ 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!
14th Dec 2016, 1:18 PM
Jason Hoffman
Jason Hoffman - avatar
+ 1
According to operating system you are using create a shortcut to the compiled C++ program.
14th Dec 2016, 1:16 PM
Ondřej Doněk
Ondřej Doněk - avatar