this is the message I get D:\Doc\2011\76635\proj\Q1\main.cpp:9: error: 'to_string' is not a member of 'std' I use Code::Blocks 10.05 with mingw 1.908.0-4.4.1-2 thanks -- BenC Get your facts first, and then you can distort them as much as you please. âFacts are stubborn, but statistics are more pliable.âÂMark Twain