Despite you saving the width twice this should work
Lol, I've rewritten the line so many times, just a copy + paste error
1>c:\users\kyle\documents\visual studio 2010\projects\turn based game\turn based game\turn based game.cpp(17): error C2143: syntax error : missing ')' before '.'
1>c:\users\kyle\documents\visual studio 2010\projects\turn based game\turn based game\turn based game.cpp(17): error C3484: syntax error: expected '->' before the return type
1>c:\users\kyle\documents\visual studio 2010\projects\turn based game\turn based game\turn based game.cpp(17): error C2061: syntax error : identifier 'getDesktopMode'
1>c:\users\kyle\documents\visual studio 2010\projects\turn based game\turn based game\turn based game.cpp(113): fatal error C1506: unrecoverable block scoping error
These errors resolve resolve if I include the #include <VideoMode.hpp>
but the include directive itself gives off an error. I've also tried moving the getDesktopResolution before and after the window is created. It makes no difference.