how to make .exe file by using cpp code?

hi friends,i dont knw that how to make an .exe file extention by using cpp.my IDE is block::code.........i wish an advac thanks for all frds who helped me to solve my doubt...thank youu all..

Hello,
About the question - the exe file is always created when you run your code.
Just go to the folder containing the .cpp file and under it you will find an exe file
Hope that will help you!
Last edited on
Probably the .exe will be found in a sub-folder, on my version of code::blocks, it is either bin/debug or bin/release, relative to the location of the .cpp files.
Last edited on
@Nanyo - not necessarily. Anything other than Windows will most often have no extension at all.

@ranju - did you mean Code::Blocks? The executable file will be somewhere in your project folder - either the same directory as the project, or in something like the bin/Debug or bin/Release folders.
@NT3............yap code::blocks......actually i knw that file in that folder as u mention...bt i really mean that i need to make an windows application which can run on the windows os.i know the basic of cpp bt i dont know how to start..plz help me..
Which OS are you using?
windows 8
and what do you mean by 'a windows application'? If you can compile and run your code on your computer that means it will work on Windows (your version of Windows at least). Do you want a nice menu to pop up with shiny graphics? Are you trying to make a Windows 8 app thing that fills the whole screen?
Topic archived. No new replies allowed.