Problem | mao |
---|---|
User | mywchong |
Submission Time | 2024-10-28 21:21:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mao.cpp: In function ‘void mao_to_cpp(int)’:
mao.cpp:12:13: error: ‘cout’ was not declared in this scope
12 | cout << val;
| ^~~~
mao.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include "mao.h"
+++ |+#include <iostream>
2 |
mao.cpp:17:13: error: ‘cin’ was not declared in this scope
17 | cin >> c;
| ^~~
mao.cpp:17:13: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
mao.cpp:21:13: error: ‘cout’ was not declared in this scope
21 | cout << (val - sub);
| ^~~~
mao.cpp:21:13: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
mao.cpp:26:13: error: ‘cin’ was not declared in this scope
26 | cin >> n;