User forums > Using Code::Blocks

Is it possible to get a '.exe'

(1/1)

Nick Nuclear:
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?

oBFusCATed:
You question is not clear, please try to explain better.

How can you make an executable without source code (cpp file)?

Nick Nuclear:
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.

BlueHazzard:
The program is created in the bin sub folder of your project...

Nick Nuclear:

--- Quote from: BlueHazzard on April 11, 2014, 12:22:47 am ---The program is created in the bin sub folder of your project...

--- End quote ---
Oh, I see.

Thank you so much. 

Navigation

[0] Message Index

Go to full version