I've decided to create a small, basic program that basically asks through a string input for a president of the USA, and if (for example) "George Bush" is typed in, it displays Bush's picture. I've got all the picture file names and the basic code, but I don't know how to make the picture put itself into the code. I don't know what command or function will let you display a picture. I tried copying off someone else's program, and I implemented his method into my code. But whenever I run the program to test Washington, it has an error and says something like file:gwashington.jpg not found" or something.
How do I make it identify file gwashington? I had all these plans to make games like snake and pong, but I need to use file images and now all my dreams have been crushed. . Some help?