这个架构有问题吗?
时间: 2019-05-07来源:博客园
前景提要
这个架构有问题吗?
0 [待解决问题] include<iostream>
using namespace std;
//fibon_elem()的前置声明(forward declaration).
//目的是让编译器知道这个函数的存在……
bool fibon_elem(int, int&);
int main()
{
int pos;
cout << "Pleace enther a position:";
cin >> pos;
int elem;
if (fibon_elem(pos, elem))
cout << "element #" << pos
<< "is" << elem << endl;
else cout << "Sorry。Could not calculate element #"
<< pos << endl;
}
这段代码为什么会说架构错误? 架构 C++入门 铭子 | 初学一级 | 园豆: 186
提问于:2019-05-07 20:30 把报错信息一起发出来看看 – 不如隐茶去 1年前 显示帮助
使用"Ctrl+Enter"可进行快捷提交,评论支持部分 Markdown 语法:[link](http://example.com) _italic_ **bold** `code`。
< > 分享
分享您的问题

清除回答草稿
您需要 登录 以后才能回答,未注册用户请先 注册 。

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行