#include <iostream>using namespace std; int main() { int a, const aVotHui = 5; std::cout << "A vot huy: " << aVotHui << std::endl; return 0;}
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:5:9: error: expected unqualified-id before 'const' int a, const aVotHui = 5; ^ prog.cpp:6:32: error: 'aVotHui' was not declared in this scope std::cout << "A vot huy: " << aVotHui << std::endl; ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!