Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Nick Nuclear on April 10, 2014, 10:59:06 pm

Title: Is it possible to get a '.exe'
Post by: Nick Nuclear on April 10, 2014, 10:59:06 pm
I haven't been using Code::Blocks for too long, but I had to switch due to the fact that the previous compiler I used is not compatible with WIN 8.

When using Bloodshed Dev C++, when I ran a program, it always created a '.exe' that I could run without having to open the '.cpp' file first..  

My question is, Is it possible to get a '.exe' using Code::Blocks, or do I always need to open the '.cpp' file to run the program?
Title: Re: Is it possible to get a '.exe'
Post by: oBFusCATed on April 10, 2014, 11:12:17 pm
You question is not clear, please try to explain better.

How can you make an executable without source code (cpp file)?
Title: Re: Is it possible to get a '.exe'
Post by: Nick Nuclear on April 10, 2014, 11:24:50 pm
I'll try to explain better.

When I used Dev C++, after I wrote and ran a program, an executable would be created in the folder/Location of the c++ file.  I was able to open the executable and run the program, without re-opening the c++ file in Dev C++.

When I write a program in Code::Blocks, I need to re-open the c++ file in Code::Blocks every time I want to run it.

I want to know if it is possible to get Code::Blocks to create an executable, so that I can run my programs without having to re-open the c++ file in Code::Blocks.
Title: Re: Is it possible to get a '.exe'
Post by: BlueHazzard on April 11, 2014, 12:22:47 am
The program is created in the bin sub folder of your project...
Title: Re: Is it possible to get a '.exe'
Post by: Nick Nuclear on April 11, 2014, 12:29:57 am
The program is created in the bin sub folder of your project...
Oh, I see.

Thank you so much.