SyntaxFix
Write A Post
Hire A Developer
Questions
cout is in std namespace, you shall use std::cout in your code. And you shall not add using namespace std; in your header file, it's bad to mix your code with std namespace, especially don't add it in header file.
cout
std::cout
using namespace std;