TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Paul Edwards
from: Roy McNeill
date: 1995-08-05 00:23:46
subject: problem in c++

RM> int main(void)

 RM> {

 RM>                                   member of) a new Dim2. */

 RM> return 1;

 RM> }



 PE> Why are you returning 1 to the environment?  0 or EXIT_SUCCESS

 PE> signal success.  EXIT_FAILURE indicates failure, and anything

 PE> else is machine-dependant (which you need sometimes, but surely

 PE> not here?).  BFN.  Paul.



Tired, I guess. I was thinking in boolean terms - zero is false,

anything else is true



--- PPoint 1.88


* Origin: Silicon Heaven (3:711/934.16)
SEEN-BY: 711/809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.