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