Simple C++ application that gets the screens resolution and prints it to a file