User forums > Using Code::Blocks
Empty file as default C++ source
hyphen:
I'm very new to CodeBlocks IDE. My use of CB is just for normal C/C++ file compilation not any project. I do project work in MSVC only.
So I need to get a simple interface which let me code in a default c++ file. ie: after opening CB I want to just click empty file and start writing c/c++ codes. And without saving it I wanna compile and run. C-Free have this facility but thats not free. Anyway to do it in CB ?
stahta01:
Code::Blocks IS NOT a compiler!!!!!!!
So, if you can find a compiler that does NOT require a source file to compile; you might have a chance; I do NOT think a thing like that exists.
Tim S.
hyphen:
Is there any shortcut to directly start a predefined empty C/C++ source file.
oBFusCATed:
Look at the settings, there was an option for default content in the newly created files...
hyphen:
default content in the newly created files
but the newly created file is not saved before user saves it..
Navigation
[0] Message Index
[#] Next page
Go to full version