Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Re: for loop localisation bug?

by Anonymous Monk
on Dec 30, 2003 at 15:51 UTC ( #317700=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: for loop localisation bug?
in thread for loop localisation bug?

Please don't use void main. It's broken, just like double main or union {int x; float y; } **main.

The C standard says: main() must be declared as int main(void) or int main(int, char **) or equivalent (or in some implementation-defined manner, which is inherently unportable). See also http://users.aber.ac.uk/auj/voidmain.shtml.

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: for loop localisation bug?
by BrowserUk (Pope) on Dec 30, 2003 at 19:36 UTC

    What can I say? It served its purpose. See you at SeaMonks.com for the follow-up:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    Hooray!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://317700]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-12-08 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (135 votes). Check out past polls.