News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Default Code is not working in CB, Tried almost everything.

Started by aniltiwari, March 23, 2013, 03:46:54 PM

Previous topic - Next topic

aniltiwari

I have created "default code" in Settings-Editor
but when I am creating any empty file, or file of type C/C++ Source, it is just showing the blank file, no default code is presented
there, more over, I also searched this issue, and visited two links below but still the problem exists.

http://forums.next.codeblocks.org/index.php?topic=12777.0
http://forums.next.codeblocks.org/index.php?topic=16058.0

Jenna

Are you aware, that you have to give the filename with the correct file-ending ?
Code::Blocks does not add a file-ending automatically and without it, C::B can not determine the file type.

aniltiwari

Woha, it worked, Sorry brother, I am new to CB, just installed it today.