A C++ problem about array
登录 | 论坛导航 -> 华新鲜事 -> 求学狮城 | 本帖共有 11 楼,当前显示第 9 楼 : 从楼主开始阅读 : 本帖树形列表 : 返回上一页
作者:Livecn (等级:13 - 举世无双,发帖:9378) 发表:2003-05-16 03:29:25  9楼 
You should declare the function before you use itmain() is an exception. All the other functions need to be declared before use. Just put your function prototype at the beginning of the program. BTW: It's better to use than (more...)
只要把下面的函数体整个放到main前面就行了。
不一定非要declare。



欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表

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



请登录后回复:帐号   密码