Author Topic: Default Code is not working in CB, Tried almost everything.  (Read 3209 times)

Offline aniltiwari

  • Single posting newcomer
  • *
  • Posts: 2
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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Default Code is not working in CB, Tried almost everything.
« Reply #1 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.

Offline aniltiwari

  • Single posting newcomer
  • *
  • Posts: 2
Re: Default Code is not working in CB, Tried almost everything.
« Reply #2 on: March 23, 2013, 05:17:49 pm »
Woha, it worked, Sorry brother, I am new to CB, just installed it today.