I want to write one c++ program, compiling and linking .cpp gives .exe file. if i double click on that and execute it a console gets opened and closed. I don\'t want that consol
If you can't move to a Window application (I mean with GUI) because sometimes you may need to use the console for output you can use following code to hide the console window: