http://qs321.pair.com?node_id=139744


in reply to Re: Re: Re: using strict and functions
in thread using strict and functions

When I have been studying C it was illegal C code. Well, it was long time ago. Maybe standart have been changed. Or it is just a gcc extension to C (gcc has plenty of them).

BTW function prototypes was not always part of C. IIRC some time ago you had to rewrite it as:

#include <stdio.h> int main ( iArgC, apsqArgV ) int iArgC; char * apsqArgV[]; { char szMsg[] = "Not so!"; printf ( "Hello, world! This is cygwqin speaking.\n" ); { printf ( "Now inside scope, msg is %s.\n", szMsg ); } return ( 0 ); // Success is zero in Windows. }

--
Ilya Martynov (http://martynov.org/)