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