是不是所以C++的PROJ都有main函数?
登录 | 论坛导航 -> 华新鲜事 -> 社会百科 | 本帖共有 6 楼,当前显示第 4 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:kronecker (等级:2 - 初出茅庐,发帖:112) 发表:2003-06-18 21:12:03  4楼 
thanks for your replyit is a source code. The problem is that when I search for main() in the whole directory of the project, none is returned. That's why i am comfused. So any more suggestions on how I can understand the codes? By the way, it is a 100M big proj:)
basiclly i dunno
first make sure your souce code is complete. Because from what you've posted, the souces seems incomplete, e.g. the default constructor is empty and desctructor is missing. Even if you have the main function, it still doesn't compile. And i don't think one would have the patience to finish the 100M+ mass.

depending on your programming environment, the main function may have different forms. In m$ visual c++, windows application has main() called WinMain(), if my memory serves me correctly.

maybe you search for main and Main in all your text files.
Put your OWN COOL signature here!
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

本帖共有 6 楼,当前显示第 4 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>



请登录后回复:帐号   密码