main.cpp: In function 'int main()': main.cpp:4:18: error: 'x' was not declared in this scope std::cout << x << std::endl; ^