|
From: Luigi S. <gi...@li...> - 2002-11-20 17:58:21
|
On Tue, Nov 19, 2002 at 11:47:21AM +0000, Paul Ardeleanu wrote:
> Can Anyone tell me why this code WORKS FINE in DevC++?
> ...
> -----------------------------------------------------------
> main ()
> {
> printf("hello, world
> \n
>
>
> ");
> ...
Try adding the options "-ansi -pedantic" and you'll see that
the compiler complains about strings extending past the end
of a line.
If you replace "-pedantic" by "-pedantic-errors", the compiler
will refuse to generate object file.
--
>> gisan >>
Q: Why did Menachem Begin invade Lebanon?
A: To impress Jodie Foster.
|