Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re: Re: Re: using strict and functions

by IlyaM (Parson)
on Jan 18, 2002 at 08:36 UTC ( #139744=note: print w/replies, xml ) Need Help??

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 (

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://139744]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2016-10-22 02:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.