瑞星卡卡安全论坛技术交流区系统软件 高手帮个忙,看哈这个程序哪里错了

12   1  /  2  页   跳转

高手帮个忙,看哈这个程序哪里错了

高手帮个忙,看哈这个程序哪里错了

#include <iostream.h>
#include <math.h>
int main()
{
    int a,b,x;
    a=b*pow(ao,x);
    b=N;
    x=0;
    while (x<=3) {
        cout<<a;
        if (x<3)
            cout<<'\t';
        else
            cout<<endl;
    }
    b=1;
    x=0;
    while (x<=3) {
        cout<<a;
        if (x<3)
            cout<<'\t';
        else {cout<<endl;
        b=b+1;}
    }
    return o;
}
最后编辑2007-01-13 11:22:51.983000000
分享到:
gototop
 

不好意思,看不懂~~~~~
gototop
 

b=N;
N没有定义
gototop
 

ao也没定义
gototop
 

除了ao没定义 b=N;N没有定义之外还有就是把return 0(零)写成了return o(欧)
gototop
 

哦  谢谢了哈!!
gototop
 

哦```````不好意思,看不出来是哪个语言写的. 偶是菜鸟,还是骨灰级的! 嘿嘿```
gototop
 

一个过来者的忠告:
注意C语言的基本语法,切忌照搬课本的代码和函数
gototop
 

回答的不错,不过好象是在练眼力啊,不象和编程有什么关系。
gototop
 

不会
gototop
 
12   1  /  2  页   跳转
页面顶部
Powered by Discuz!NT