Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

informatika / Cinta Avrille X MIPA 5

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.32 sec, absolute service time: 0,47 sec 
edit mode |  history  | discussion
Error(s):
547741006/source.cpp: In function ‘int main()’:
547741006/source.cpp:10:1: error: ‘cout’ was not declared in this scope
 cout<<"Masukan NPM : ";
 ^~~~
547741006/source.cpp:10:1: note: suggested alternative:
In file included from 547741006/source.cpp:3:0:
/usr/include/c++/7/iostream:61:18: note:   ‘std::cout’
   extern ostream cout;  /// Linked to standard output
                  ^~~~
547741006/source.cpp:11:5: error: ‘cin’ was not declared in this scope
     cin>>npm;
     ^~~
547741006/source.cpp:11:5: note: suggested alternative:
In file included from 547741006/source.cpp:3:0:
/usr/include/c++/7/iostream:60:18: note:   ‘std::cin’
   extern istream cin;  /// Linked to standard input
                  ^~~
547741006/source.cpp:15:10: error: ‘matakuliah’ was not declared in this scope
     cin>>matakuliah;
          ^~~~~~~~~~
547741006/source.cpp:30:93: error: ‘endl’ was not declared in this scope
     cout<<"=============================================================================="<<endl;
                                                                                             ^~~~
547741006/source.cpp:30:93: note: suggested alternative:
In file included from /usr/include/c++/7/iostream:39:0,
                 from 547741006/source.cpp:3:
/usr/include/c++/7/ostream:590:5: note:   ‘std::endl’
     endl(basic_ostream<_CharT, _Traits>& __os)
     ^~~~