Guest
Login
跳过导航链接

Compile Error:

  :1:2: error: invalid preprocessing directive #inculde; did you mean #include?
    1 | #inculde <iostream>
      |  ^~~~~~~
      |  include
: In function 'int main()':
:6:5: error: 'cin' was not declared in this scope
    6 |     cin>>a>>b>>endl;
      |     ^~~
:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
  +++ |+#include <iostream>
    1 | #inculde <iostream>
:6:16: error: 'endl' was not declared in this scope
    6 |     cin>>a>>b>>endl;
      |                ^~~~
:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
  +++ |+#include <ostream>
    1 | #inculde <iostream>
:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<a+b<<endl;
      |     ^~~~
:7:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?

  

Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
348