Do you compile in C++ mode in DevCpp ?
Anyway, can you cut and paste your error messages here, just to see what's
really happening ?
"It doesn't work, I've got plenty of error messages" just doesn't help us too
much to understand what's going wrong...
Kind regards
--
Seb