CodeBlocks, GCC: change project language c and c++?

Posted by user394242 on Stack Overflow See other posts from Stack Overflow or by user394242
Published on 2011-01-14T21:00:19Z Indexed on 2011/01/15 5:53 UTC
Read the original article Hit count: 385

Filed under:
|
|
|

When I select console project to start with, it lets you select c or c++, but once its created.. i can't figure out where to change it, and when you create a win32 gui application, it doesn't give you the option at all, and its default is c++.. where can i change to c? i have been looking in all the project settings for AGES. renaming my file from cpp to .c doesn't seem to do anything, it compiles the file as cpp. i know that without the ide, you just change your exe from g++ to gcc, but how do i set this for the current project in codeblocks?

© Stack Overflow or respective owner

Related posts about c++

Related posts about c