Problem | addition2 |
---|---|
User | Hijackedsoul |
Submission Time | 2023-07-12 12:09:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition2.cpp:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
1 | #inclue <iostream>
| ^~~~~~
| include
addition2.cpp: In function ‘int main()’:
addition2.cpp:5:7: error: ‘cin’ is not a member of ‘std’
5 | std::cin >> a >>b;
| ^~~
addition2.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclue <iostream>
addition2.cpp:6:7: error: ‘cout’ is not a member of ‘std’
6 | std::cout << a+b;
| ^~~~
addition2.cpp:6:7: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?