Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cbuser2 on February 02, 2013, 02:59:32 pm

Title: how to set default Win32 GUI Project file extension as .c?
Post by: cbuser2 on February 02, 2013, 02:59:32 pm
Hi folks.

When I start a new console application, I have the option of selecting the language as either C or C++, and the file is saved appropriately as .c or .cpp. But when I start a new Win32 GUI Project, I don't have this option, and the source file is automatically saved ending in .cpp. I can still write C code, and it builds and runs fine. What can I do to set default Win32 GUI Project file extension as .c?

Thanks in advance.