Problem | fizzbuzz |
---|---|
User | JoshuaPyh |
Submission Time | 2023-08-03 17:04:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:5:10: error: ‘cin’ is not a member of ‘std’
5 | std::cin >> N >> A >> B;
| ^~~
fizzbuzz.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <string>
+++ |+#include <iostream>
2 |
fizzbuzz.cpp:9:18: error: ‘cout’ is not a member of ‘std’
9 | std::cout << "FizzBuzz";
| ^~~~
fizzbuzz.cpp:9:18: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
fizzbuzz.cpp:11:18: error: ‘cout’ is not a member of ‘std’
11 | std::cout << "Fizz";
| ^~~~
fizzbuzz.cpp:11:18: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
fizzbuzz.cpp:13:18: error: ‘cout’ is not a member of ‘s