星期一, 十二月 13, 2010

C++ main program return

By standard, it returns an integer.  However, Fedora will truncate it to 0-255.  Use $? to catch this return.

Also, if using makefile, make will tell you what `error' status is returned.

没有评论: