User forums > Help

Code::Blocks saving files as C files?

(1/1)

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

Navigation

[0] Message Index

Go to full version