Answers for "[error] 'a' was not declared in this scope"

C++
2

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
Posted by: Guest on July-27-2020
7

set was not declared in this scope

#include <set>
Posted by: Guest on December-25-2021

Code answers related to "[error] 'a' was not declared in this scope"

Browse Popular Code Answers by Language