Sams Teach Yourself C in 21 Days

(singke) #1
To set the compiler to use the ANSI C standard, select “Compiler options” from the
Options menu. This will present you with the dialog shown in Figure G.5.

886 Appendix G

FIGUREG.4
The initial Dev-C++
IDE.

FIGUREG.5
The Compiler options
dialog.

From this dialog you should chose the C/C++ Compiler tab. This will present the dialog
in Figure G.6.
In this dialog you should first check the “Support all ANSI C programs” option. This
will allow the compiler to recognize ANSI standard commands. You should also go
ahead and check “Attempt to support some aspects of traditional C compilers.” For more
on what these options do, you can check the help files that came with the compiler.

50 448201x-APP G 8/13/02 11:22 AM Page 886

Free download pdf