[A83] Re: C(++) programming
[Prev][Next][Index][Thread]
[A83] Re: C(++) programming
main is a function just like anything else you call.
int main();
- that returns an integer
i would think that "main()" returns an error because the prototype of the
function is not defined.
return 0;
- returns 0 for completed successfully
- if you have error handlers you might want to return something else
- this is typically flip flopped for unix systems
-harper
----- Original Message -----
From: "The one and only SUCKER ..." <sucker_pvn@hotmail.com>
To: <assembly-83@lists.ticalc.org>
Sent: Monday, September 17, 2001 12:47 PM
Subject: [A83] C(++) programming
>
> Somebody in to C(++) programming??
> What's the difference between "int main()" and only "main()"??
> And what is "return0;" for? Something like returning to the OS like
> ret on the TI-83(+) (SE)??
>
> Could sombody give me a good address where I can find some good C (++)
> tutorials??
>
> SUCKER
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
>
Follow-Ups:
References: