开发者

Xcode question for writing program

What is the meaning of the fu开发者_StackOverflow中文版nction return(0); while writing code for a simple "hello world" program ?


Are you talking about the main function, and in which language?

If your talking about C, C++ it there is generally a return 0; at the end of any main().


That means that the program terminated fine, as in not in an error state. I am assuming you are coding in C++.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜