Problem | addition |
---|---|
User | Caysson |
Submission Time | 2024-01-12 10:20:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
addition.cpp: In function ‘int main()’:
addition.cpp:6:7: error: ‘cin’ is not a member of ‘std’
6 | std::cin >> x;
| ^~~
addition.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | include <iostream>
addition.cpp:7:7: error: ‘cin’ is not a member of ‘std’
7 | std::cin >> y;
| ^~~
addition.cpp:7:7: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
addition.cpp:9:7: error: ‘cout’ was not declared in this scope
9 | std:;cout << x+y;
| ^~~~