Author Topic: Is it possible to get a '.exe'  (Read 3948 times)

Offline Nick Nuclear

  • Single posting newcomer
  • *
  • Posts: 4
Is it possible to get a '.exe'
« 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?
« Last Edit: April 10, 2014, 11:01:33 pm by Nick Nuclear »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Is it possible to get a '.exe'
« Reply #1 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)?
(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!]

Offline Nick Nuclear

  • Single posting newcomer
  • *
  • Posts: 4
Re: Is it possible to get a '.exe'
« Reply #2 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.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: Is it possible to get a '.exe'
« Reply #3 on: April 11, 2014, 12:22:47 am »
The program is created in the bin sub folder of your project...

Offline Nick Nuclear

  • Single posting newcomer
  • *
  • Posts: 4
Re: Is it possible to get a '.exe'
« Reply #4 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.