36372023-03-01 12:59:36norbertvidaAutókódoláscpp17Forditási hiba
#include <iostream>
int main() {
  cout << "0\n0\n";
  return 0;
}
Forditási hiba
exit status 1
main.cpp: In function 'int main()':
main.cpp:3:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    3 |   cout << "0\n0\n";
      |   ^~~~
      |   std::cout
In file included from main.cpp:1:
/usr/include/c++/11/iostream:61:18: note: 'std::cout' declared here
   61 |   extern ostream cout;          /// Linked to standard output
      |                  ^~~~
Exited with error status 1