hkulekci
0
Q:

error: 'endl' was not declared in this scope

using namespace std;

Explanation:
mention "using namespace std;" above the main function in C++ will solve the 'endl' error
1

New to Communities?

Join the community