User forums > Help

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

(1/1)

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.codeblocks.org/index.php?topic=12777.0
http://forums.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.

Navigation

[0] Message Index

Go to full version