Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: sanalp_sp on September 20, 2006, 09:33:46 pm

Title: compile/run independent source file
Post by: sanalp_sp on September 20, 2006, 09:33:46 pm
Hi all,
    I am pretty new to code blocks, and really happy to see one like this, whenever am not working in linux, i use dev-c++ in windows.
code blocks is awesome..my thanks and wishes to all to make this a good IDE, hope we can make it more better. My question is
 
          I want to compile/run a .c or .cpp file without creating a project file. Is it possible in codeblock ? if yes, plz let me know.

As i usually use small sample programs to test. so dont want to create a project file for each source file i write ( source file wil have main())
this can be done in dev-cpp..please help me for this.

thanks in advance.
sanal
Title: Re: compile/run independent source file
Post by: mandrav on September 20, 2006, 09:35:01 pm
Well, have you even tried before asking?
Title: Re: compile/run independent source file
Post by: sanalp_sp on September 20, 2006, 09:55:42 pm
am sorry if stupid, i can compile..but to run, i need to go to that folder and execute, i want to run the .exe created using some shortcut key or menu item in IDE itself... plz help, if i didnt noticed it