Sorry I neglected to state I was using VexCode C++. I have looked at some things on the forum and came up with this code
#include "vex.h"
using namespace vex;
// A global instance of vex::brain used for printing to the V5 brain screen
vex::brain Brain;
int main() {
Brain.Screen.drawImageFromFile("cube.png",20,20);
while(1) {
// Allow other tasks to run
this_thread::sleep_for(10);
}
}
Unfortunately this will not draw the image.