News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

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.