Code::Blocks Forums

User forums => Help => Topic started by: aniltiwari on March 23, 2013, 03:46:54 pm

Title: Default Code is not working in CB, Tried almost everything.
Post by: aniltiwari on March 23, 2013, 03:46:54 pm
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.codeblocks.org/index.php?topic=12777.0
http://forums.codeblocks.org/index.php?topic=16058.0
Title: Re: Default Code is not working in CB, Tried almost everything.
Post by: Jenna on March 23, 2013, 04:23:42 pm
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.
Title: Re: Default Code is not working in CB, Tried almost everything.
Post by: aniltiwari on March 23, 2013, 05:17:49 pm
Woha, it worked, Sorry brother, I am new to CB, just installed it today.