So what I want to do is to have an actual image display (say like a jpeg) instead of those printf()
lines to shorten up the code and have the pictures displayed in the output, and I would also like to know how to change the color of the text in the output so each picture can have a different color text message displayed with it. I'm using Visual Studio 2012 and 2013.
#include "stdafx.h"
#include "stdio.h"
int main(void)
{
int var = 0;
printf("Enter 1 or 2 or 3 to see the pictures in me: ");
scanf_s("%i", &var);
while (var > 0)
{
if (var == 1)
{
printf(" _____\n");
printf(" | |\n");
printf(" |\n");
printf(" |\n");
printf(" |\n");
printf(" |\n");
printf("______|__\n");
printf("Wana see more? ");
scanf_s("%i", &var);
}
else if (var == 2)
{
printf("Be glad you didn't pick 1\n");
printf(" (0_0) \n");
printf("^^Kirby is staring you down^^\n");
printf("Hope you didnt piss him off!\n");
printf("Wana see more? ");
scanf_s("%i", &var);
}
else if (var == 3)
{
printf("So you decided to pick the safe route and not see either of the other two,\n");
printf("But I will still force you to look!\n");
printf(" _____\n");
printf(" | |\n");
printf(" |\n");
printf(" |\n");
printf(" |\n");
printf(" |\n");
printf("______|__\n");
printf("This is the end thank you for looking!\n");
break;
}
}
getchar();
return 0;
}