note
IlyaM
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).
<p>
BTW function prototypes was not always part of C. IIRC some time ago you had to rewrite it as:
<code>
#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.
}
</code>
<p>
<font color="grey">
--<br>
Ilya Martynov
(<A HREF="http://martynov.org/">http://martynov.org/</a>)
</font>
139560
139727