What happened cout was not declared in this scope? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What happened cout was not declared in this scope?

19th Aug 2018, 2:45 PM
Suryaprakash
Suryaprakash - avatar
2 Answers
0
Did you include iostream? #include <iostream>
19th Aug 2018, 2:49 PM
XiLef
0
Suryaprakash use std namespace or try with std::cout
19th Aug 2018, 3:14 PM
Ketan Lalcheta
Ketan Lalcheta - avatar