User forums > Using Code::Blocks
Forcing ANSI C standard only.
caveman_1990:
Hey,
I am currently studying C language at university and the lecture requires us to use "ANSI C standard" for our coding or else we will get a FAIL so can anyone please help me on how to setup code::blocks to use only ANSI C standard.
Thanks.
kevin
MortenMacFly:
Compile your code with the -ansi option, setup your compiler / project's compiler options accordingly.
However, still you should know what you are doing and what ANSI C actually means.
caveman_1990:
Ok thanks for the help.
wrath:
--- Quote from: caveman_1990 on September 06, 2010, 06:45:29 am ---Hey,
I am currently studying C language at university and the lecture requires us to use "ANSI C standard" for our coding or else we will get a FAIL so can anyone please help me on how to setup code::blocks to use only ANSI C standard.
Thanks.
kevin
--- End quote ---
Hey kevin did you get to change codeblock to use "ANSI C standard"? cause thats what i need at the moment
oBFusCATed:
Project -> Build options -> Compiler options -> Ansi bla bla...
Navigation
[0] Message Index
[#] Next page
Go to full version