Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: enreina on June 19, 2007, 06:49:35 am

Title: Run source files
Post by: enreina on June 19, 2007, 06:49:35 am
Is there any way to run source files without creating projects? Because without creating project, the run menu is grey..
Title: Re: Run source files
Post by: rickg22 on June 19, 2007, 08:05:44 am
What? Isn't there a "run file" menu?

Well, in the meantime, just search for the exe. Open a command prompt, and execute it from there :P Yeah, it's dirty but it works :)
Title: Re: Run source files
Post by: enreina on June 19, 2007, 09:34:00 am
Where's that "run file" menu? I can't find it. And I've tried running the exe file, but when the program finishes. it closes itself..
Title: Re: Run source files
Post by: Morphius Faydal on June 19, 2007, 10:33:30 am
I can open a new file, not in a project, put some code in, and save it as a .cpp, and I can build and run it.

I'm running Windows XP SP2 and svn build 4068.

Attached screenie shows what menu I'm looking at to do it..

[attachment deleted by admin]
Title: Re: Run source files
Post by: enreina on June 19, 2007, 12:32:22 pm
here's my screenshot :

[attachment deleted by admin]
Title: Re: Run source files
Post by: Biplab on June 19, 2007, 12:54:48 pm
here's my screenshot :

It seems you are using an old C::B. Please download a latest nightly.
Title: Re: Run source files
Post by: Morphius Faydal on June 19, 2007, 04:22:39 pm
Yeah, that's ancient.  Probably what.. a year and a half old?