User forums > Using Code::Blocks

compile/run independent source file

(1/1)

sanalp_sp:
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

mandrav:
Well, have you even tried before asking?

sanalp_sp:
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

Navigation

[0] Message Index

Go to full version