This is a compile-time error, yes? I place this code in my compiler and it works...
Oh. You're missing a semicolon.
Try
Code:
RGBImage* image = new RGBImage("testPattern.jpg");
Instead.
__________________

2012 Head of Programming and Electrical
2013-14 Overall Team Captain and Programming Head
2012-14 Mentor of FLL Team Power Surge
2014 Dean's List Finalist
2014 CIR Xerox Creativity Award
Webpage