how to make .exe file by using cpp code?

May 25, 2014 at 11:02am
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..

May 25, 2014 at 11:19am
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 May 25, 2014 at 11:19am
May 25, 2014 at 11:35am
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 May 25, 2014 at 11:35am
May 25, 2014 at 11:38am
@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.
May 25, 2014 at 2:19pm
@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..
May 25, 2014 at 4:08pm
Which OS are you using?
May 25, 2014 at 4:22pm
windows 8
May 25, 2014 at 4:36pm
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.