Title: Pony Programming Author: Anonymous Pastebin link: http://pastebin.com/TdAVg6Dr First Edit: Wednesday 30th of July 2014 02:29:22 PM CDT Last Edit: Wednesday 30th of July 2014 02:29:22 PM CDT int funct(int x) {       switch(x)     {     case 1:         cout << "Here's your hug anon \n" << endl;         break;     case 2:         cout << "boop! \n" << endl;         break;     case 3:         cout << "Lets cuddle under the stars Anon, Luna said there's going to\n be a pretty world-destroying asteroid shower \n" << endl;         break;     } }     int main() {     int x; menu:     printf("What do you want pony to do? (1)Hug,(2)Boop,(3)Cuddle \n");     cin >> x;     funct(x);       cout << "Type 1 to go back to the menu or type 0 to exit" << endl;     cin >> x;     if(x == 1)         goto menu;     if(x == 0)           return 0;   }