On 7 July 2011 16:19, eric wrote: > eric@eric-laptop:~/cppcookbook/download$ g++ 4-7.cpp > 4-7.cpp: In function ‘int main()’: > 4-7.cpp:20:11: error: expected type-specifier before ‘out_of_range’ THIS IS NOT A GCC ISSUE, THE EXAMPLE CODE IS BUGGY, PLEASE FIND SOMEWHERE ELSE TO ASK THESE QUESTIONS.