Sunday, January 23, 2011

JOY!!!...

So...today i fixed my laptop HAPPY

tinkered around with some c++ and recompiled a program that i wrote to wish my wife a happy birthday into windows...(dont think she was as impressed with it as i was...) it was my first real program other then Hello World!

I figured I'd post the source code for it for anyone that might want to tinker around with it see what you can make it do. Mail me if you come up with anything so i can see what you've done just atleast give me credit for the original code.


#include
#include
using namespace std;

int main()

{
int age;
string answere;
cout<<"hey baby i know today is your day\n"; system("PAUSE"); cout<<"but i need just 3 minutes of your time.\n"; system("PAUSE"); cout<<"Are you ready? Yes or No:\n"; cin>> answere;
cin.ignore();
if (answere == "yes")
{
cout<< "Please enter your age:\n"; cin>> age;
cin.ignore();
if (age < 30 ) { cout<< "Now come on why you gotta be so damn difficult all the time!\n"; cout<<"You really are a pain in my ass...\n"; system("PAUSE"); } else if ( age == 30 ) { cout<< "Happy Birthday Darlin!\n"; system("PAUSE"); system("chrome.exe http://www.stingsandthings.com/home/stings/media/free/happy-birthday-free.mp3"); system("PAUSE"); cout<< "Here Comes your Cake!!!!\n"; system("chrome.exe http://www.coolest-birthday-cakes.com/images/coolest-under-the-sea-whale-cake-12-21324949.jpg"); cout<< "I Love You!\n"; system("PAUSE"); } else if (age > 30 )
{
cout<< "Come on darlin now we both know that aint true....hehe\n"; cout<< "Now you gotta start over..click again!\n"; cout<< "Seriously stop bein such a pain in the ass!\n"; system("PAUSE"); } } else { cout<<"Im Hateing you right now P.I.M.P...\n"; } cin.get(); }



well there it is have fun with it i had fun making it its crude and simple but it was entertaining...


J4rG0n

No comments:

Post a Comment

Total Pageviews