开发者

c++ language related to functions

If void main is a user defined function the开发者_开发技巧n can we make any change in this user defined function. For eg: can we write/use void main1() in place of main()?


No. The program loader looks for main() as the starting point of a console application (WinMain() for Windows apps).


Yes. Just call main1() inside main().

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜