Problem | addition |
---|---|
User | ashlose |
Submission Time | 2024-04-03 16:53:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp:1:2: error: invalid preprocessing directive #INCLUDE
1 | #INCLUDE <IOSTREAM>
| ^~~~~~~
addition.cpp: In function ‘int main()’:
addition.cpp:7:2: error: ‘cin’ was not declared in this scope
7 | cin >> a >> b;
| ^~~
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:8:2: error: ‘cout’ was not declared in this scope
8 | cout << a+b;
| ^~~~
addition.cpp:8:2: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?