Problem | yayornay |
---|---|
User | Aryankcode2024 |
Submission Time | 2024-06-21 12:45:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
yayornay.cpp: In function ‘int main()’:
yayornay.cpp:2:17: error: expected identifier before ‘<’ token
2 | using namespace<iospace>
| ^
yayornay.cpp:2:17: error: expected ‘;’ before ‘<’ token
2 | using namespace<iospace>
| ^
| ;
yayornay.cpp:2:17: error: expected primary-expression before ‘<’ token
yayornay.cpp:2:18: error: ‘iospace’ was not declared in this scope
2 | using namespace<iospace>
| ^~~~~~~
yayornay.cpp:4:7: error: ‘string’ is not a member of ‘std’
4 | std::string suggestion;
| ^~~~~~
yayornay.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | int main(){
yayornay.cpp:5:7: error: ‘cin’ is not a member of ‘std’
5 | std::cin >> suggestion;
| ^~~