Results 1 to 8 of 8
  1. #1
    Corndog's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Salem, NH
    Posts
    10,138
    Reputation
    526
    Thanks
    2,909

    I KNOW IM A NUB AT C++...DONT MAKE FUN OF ME

    HELLO THERE EVERYBODY. I AM A NUB CODER AT C++. well...i probably beat everybody else at coding who are 14 years old.

    anyway...if you wanna play a quick madlib game, please compile my source code and have fun... like i said, i just started C++, and im only 14, be easy on me.




    Code:
    //you gotta start a blank console project and then paste this in.
    #include <iostream>
    #include <string>
    using namespace std;
    
    int main(){
    
    	char selection;
    	string noun, place, sword, verb, noun2, verb2, adj, adj2, num, adj3, adverb, adj4, adj5, num2, motime, adj6, adj7, adj8, noun3, num3, num4;
    
    	cout << "Hello. Welcome to Connor's MadLib Game. Would you like to play? (y/n):";
    	cin >> selection;
    
    	if (selection != 'y'){
    		system("exit");
    	}
    	else {
    	cout << "Enter a Place: ";
    	cin >> place;
    	cout << "Enter a Noun: ";
    	cin >> noun;
    	cout << "Enter a Silly Word: ";
    	cin >> sword;
    	cout << "Enter a Verb: ";
    	cin >> verb;
    	cout << "Enter another Noun: ";
    	cin >> noun2;
    	cout << "Enter another Verb: ";
    	cin >> verb2;
    	cout << "Enter an Adjective: ";
    	cin >> adj;
    	cout << "Enter another Adjective: ";
    	cin >> adj2;
    	cout << "Enter a Number: ";
    	cin >> num;
    	cout << "Enter another Adjective: ";
    	cin >> adj3;
    	cout << "Enter an Adverb: ";
    	cin >> adverb;
    	cout << "Enter another Adjective: ";
    	cin >> adj4;
    	cout << "Enter another Adjective: ";
    	cin >> adj5;
    	cout << "Enter another Number: ";
    	cin >> num2;
    	cout << "Enter a Measurement of Time: ";
    	cin >> motime;
    	cout << "Enter another Adjective: ";
    	cin >> adj6;
    	cout << "Enter another Adjective: ";
    	cin >> adj7;
    	cout << "Enter another Adjective: ";
    	cin >> adj8;
    	cout << "Enter another Noun: ";
    	cin >> noun3;
    	cout << "Enter another Number: ";
    	cin >> num3;
    	cout << "Enter another Number: ";
    	cin >> num4;
    
    	cout << "Is your " << noun << " making a mess of your " << place << endl << "? Try " << sword << "! It will " << verb << " your whole " << noun2 << " and " << verb2 << " to unbelievable levels! Watch, as we demonstrate, the " << adj << " capabilities of this " << adj2 << " product! Everyone should have at least " << num << " of these!" << endl; 
    	cout << "To order, call the number on your screen. " << adj3 << " phone attendants will " << adverb << " take your request. " << adj4 << " and " << adj5 << " service will be yours! Call within the next " << num2 << " " << motime << ", and you will receive a " << adj6 << ", " << adj7 << ", "<< adj8 << " " << noun3 << " as a bonus, absolutely free for an additional value of " << num3 << " dollars, plus shipping and handling cost of " << num4 << " dollars. Act Now!!" << endl; 
    	}
    	system ("pause");
    	return 0;
    }

  2. #2
    zhaoyun333's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    396
    Reputation
    11
    Thanks
    1,125
    Not bad! But you don't beat every1 else whos 14 cuz.....im 13.
    System("exit") and system ("pause") are not compatible with linux.
    Linux failz.
    There are five possible operations for any army. If you can fight, fight; if you cannot fight, defend; if you cannot defend, flee; if you cannot flee, surrender; if you cannot surrender, die." - Sima Yi

  3. #3
    hihiman1's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Posts
    252
    Reputation
    9
    Thanks
    34
    My Mood
    Fine
    Pretty funny, but you would have to try hard to put in the right words for it to actually make sense.

    [img]https://************.com/sig/017/hiyohihi.jpg[/img]

    [IMG]https://i684.photobucke*****m/albums/vv206/hihi2111/Killzone.jpg[/IMG]

    [IMG]https://i684.photobucke*****m/albums/vv206/hihi2111/MPGHHitsugayasig.jpg[/IMG]

    mpgh.net/freeVIP

  4. #4
    IPAWN's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Under your bed
    Posts
    122
    Reputation
    10
    Thanks
    14
    My Mood
    Dead
    true, im 16 right now, but when i was 12, i made my first webpage and hack

  5. #5
    lead_famer's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    71
    Reputation
    10
    Thanks
    19
    My Mood
    Bored
    wow. im 19 and I just learned many languages this freshman year in college. I manage to learn three languages within a years' span. If you can only code hacks in Java and Python then I would be like Naeron.

  6. #6
    zhaoyun333's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    396
    Reputation
    11
    Thanks
    1,125
    Webpage....as in...one of those premade websites or from scratch uisng HTML
    There are five possible operations for any army. If you can fight, fight; if you cannot fight, defend; if you cannot defend, flee; if you cannot flee, surrender; if you cannot surrender, die." - Sima Yi

  7. #7
    richdude212's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Tampa, FL
    Posts
    352
    Reputation
    10
    Thanks
    56
    My Mood
    Inspired
    I'm 14 and that is a program for a cave man.. I mean all you are doing is taken variables and added values and then putting it into a sentence... They cover that is the first 10 pages of any c++ book.
    [IMG]https://i516.photobucke*****m/albums/u330/richdude212-2.jpg[/IMG]


    [IMG]https://i516.photobucke*****m/albums/u330/richdude212/leet.gif[/IMG]

    Get NX Cash For Completing Offers Here! (will redirect)


    Remember to press when people help you!
    Not bad for $14.99 a month...

  8. #8
    IPAWN's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Under your bed
    Posts
    122
    Reputation
    10
    Thanks
    14
    My Mood
    Dead
    Quote Originally Posted by zhaoyun333 View Post
    Webpage....as in...one of those premade websites or from scratch uisng HTML
    from scratch yes, in fact i made a flash website, then when siverlight was released, i learned how to program that too ^^

Similar Threads

  1. [Info] Wortless "zp hack " thread .., I dont make that thread
    By MSainT98 in forum CrossFire Discussions
    Replies: 16
    Last Post: 08-08-2011, 08:51 PM
  2. plz dont make hard again dbased
    By yakusa168 in forum Mission Against Terror Discussions
    Replies: 3
    Last Post: 07-08-2011, 08:32 AM
  3. How come hackers dont make hacks with aimbots?
    By IxDAxCHAMP in forum Combat Arms Discussions
    Replies: 4
    Last Post: 07-02-2010, 08:44 AM
  4. dont make accounts 2day
    By lilshooter713 in forum Combat Arms Hacks & Cheats
    Replies: 16
    Last Post: 08-22-2008, 07:06 PM

Tags for this Thread