News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Is it possible to get a '.exe'

Started by Nick Nuclear, April 10, 2014, 10:59:06 PM

Previous topic - Next topic

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)?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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...
Oh, I see.

Thank you so much.