0 Compile Error

foo.cc: In function 'int main()':
foo.cc:5:5: error: 'cout' was not declared in this scope
     cout<<(  *  )<<endl;
     ^~~~
foo.cc:5:5: note: suggested alternative: 'cosl'
     cout<<(  *  )<<endl;
     ^~~~
     cosl
foo.cc:5:17: error: expected primary-expression before ')' token
     cout<<(  *  )<<endl;
                 ^
foo.cc:5:20: error: 'endl' was not declared in this scope
     cout<<(  *  )<<endl;
                    ^~~~
foo.cc:5:20: note: suggested alternative: 'expl'
     cout<<(  *  )<<endl;
                    ^~~~
                    expl
foo.cc:7:17: error: expected primary-expression before ')' token
     cout<<( *** )<<endl;
                 ^
foo.cc:9:17: error: expected primary-expression before ')' token
     cout<<(*****)<<endl;
                 ^
foo.cc:10:5: error: 'cin' was not declared in this scope
     cin>>a>>b>>c;
     ^~~
foo.cc:10:5: note: suggested alternative: 'sin'
     cin>>a>>b>>c;
     ^~~
     sin
foo.cc:10:10: error: 'a' was not declared in this scope
     cin>>a>>b>>c;
          ^
foo.cc:10:13: error: 'b' was not declared in this scope
     cin>>a>>b>>c;
             ^
foo.cc:10:16: error: 'c' was not declared in this scope
     cin>>a>>b>>c;
                ^

代码

#include<stdio.h>
#include<math.h>
int main()
{
    cout<<(  *  )<<endl;

    cout<<( *** )<<endl;

    cout<<(*****)<<endl;
    cin>>a>>b>>c;
    return 0;
}

信息

递交者
题目
DJKS1111  字符三角形
比赛
2024年3月等考一级题单
语言
C++ 98
递交时间
1 年前
评测时间
1 年前
分数
0
总耗时
0ms
峰值内存
0 Bytes