Borderou de evaluare (job #2839191)
Utilizator | Data | 25 ianuarie 2022 14:38:04 | |
---|---|---|---|
Problema | 2sah | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Matrix::print()':
main.cpp:53:17: error: 'cout' was not declared in this scope
53 | cout << mat[i][j] << " ";
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <stdio.h>
+++ |+#include <iostream>
2 |
main.cpp:54:13: error: 'cout' was not declared in this scope
54 | cout << '\n';
| ^~~~
main.cpp:54:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp: In member function 'Matrix Matrix::operator=(Matrix)':
main.cpp:49:5: warning: control reaches end of non-void function [-Wreturn-type]
49 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !