News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Code::Blocks saving files as C files?

Started by H, August 02, 2009, 05:24:19 PM

Previous topic - Next topic

H

I've been having trouble recognizing headers in my programs, and I noticed in folder where I save all of my files that Code::Blocks has been saving the files as C files and not as C++ files. I have C++ files transferred over from the last IDE I used, which all work, but every time I save a file in Code::Blocks it gets saved as a C file (the icon next to file is a C, not a C++). How do I fix this?

Edit: Had to manually add .cpp at end of file, then it worked