SyntaxFix
Write A Post
Hire A Developer
Questions
You are using g++ 4.6 version you must invoke the flag -std=c++0x to compile
g++ -std=c++0x *.cpp -o output