beat my cousin in pool 23 times and in bowling

Published October 12, 2004
Advertisement
My cousin and me went down to the lanes and played 25 times and bowling twice the first time he kick my butt (he bowled a 203!)the second time I wooped him then I scared the crap out of my dad when he picked us up when he was driving I popped a balloon in his ear [smile]. when I got home I started this program
#include#include#include#includeusing namespace std;int main(){    const int MAX_WORDS = 3;    //make the max number of words three    const string words[MAX_WORDS] =             {"hello",                "goodbye",            "guthead"};        srand(time(0));    //seed the random generator    int choice = (rand() % MAX_WORDS);    string theword = words[choice];        string jumble = theword;    int length = jumble.size();    for(int i = 0; i < length; i++)    {        int var1 = (rand() % length);        int var2 = (rand() % length);            char temp = jumble[var1];        jumble[var1] = jumble[var2];        jumble[var2] = temp;    }    cout<        int k;        cin>>k;    return 0;}
it's still got a small error but I'll fix it in a minute.
Next Entry nuttin to do
0 likes 2 comments

Comments

Gaiiden
I'm sure your dad was more than just scared :P
October 13, 2004 04:52 AM
hothead
I'll bet [grin].
October 13, 2004 11:50 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

artwork..or is it?

1265 views

OpenGL!

1231 views

sprites!

1222 views

API madness!!

1051 views

got a new book

903 views

levesl gain gone!

979 views

what happened?

1027 views

text based madness

1015 views
Advertisement