Thread: My best C++ Programs

  1. #61
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    I dont think so.. games involve both logic and graphics..

  2. #62
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160

    Talking New Game Development

    im working on my version of "the weakest link" and already i have 1 round set up...

    im sorta new to C++ so it doesnt have a time limit... and i havent put in error proof functions so usually if you incorrectly type something it will bug out, well heres my cpp file (im new so its REALLY LONG...)

    also keep in mind the questions never change, im not sure how to do it... but i will work on it some more later, this is the first round and after question 10 it will pretty much close...

    ill include the exe file if your too lazy to compile it too...
    Paro

  3. #63
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,212
    umm:
    Code:
                    cout<<"C) Lions\n";
    	cout<<"D) Elephants\n";
    	cout<<"\nWhat is your guess? ";
    	...
    	cout<<"no, the right answer was D) Lions\n";
    D is elephants, not lions!

  4. #64
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160
    Woops, i didnt test it much, thanks for noticing it tho
    Paro

  5. #65
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160
    oh, btw, its elephants, not lions... it should be D) Elephants...

    hey look, i got more views than the sticky post! heh
    Paro

  6. #66
    Unregistered
    Guest

    Re: My best C++ Programs

    Originally posted by Paro
    You all can reply and post your best programs (the file, not the code lol)

    heres my semester project (im a first year programmer in highschool, be nice )

    some input would be nice, criticize it if you want to

    but by all means, praise me


    Paro
    first year in high shcool and thats your semester project?! wow you guys must progress slow as hell our school does stuff with stacks and binary search trees,advanced algorithms and the like...

  7. #67
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160
    were in highschool, and our semester project could be anything at all it had to requirement...i didnt use everything we did but yea thats as far as weve been...

    you in college or something?
    Paro

  8. #68
    Registered User
    Join Date
    Jan 2002
    Posts
    68
    Binary search trees? stacks? advanced algorithms? yeah...those are pretty advanced...except that someone could learn them in about 3 min of reading...paro, know what a pointer is? if not, take 3 min to read what, then 9 min to learn this kids 'advanced' algorithms...and your caught up to his 'genius' school.
    ______________________
    The Gekko

  9. #69
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160

    Talking

    ok thanks, ill check ahead in my book for those pointers... even tho i already know how to declare one, i just dont know what they are for, but ill find out
    Paro

  10. #70
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    Somebody has changed his pictuuuure.....

  11. #71
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160
    isnt my new picture awesome!
    Paro

  12. #72
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    In my opinion there's only one way to answer to that.

    int main() {
    if(picture == awesome) {
    cout << "It sure is!";
    } else {
    cout << "Nope, it sucks....";
    }
    }

  13. #73
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160
    that program doesnt solve anything!

    Paro

  14. #74
    Registered User Paro's Avatar
    Join Date
    Feb 2002
    Posts
    160

    Question ideas?

    any ideas for a new newbie program i could make? im stumped
    Paro

  15. #75
    Seņor Member
    Join Date
    Jan 2002
    Posts
    560
    Try blackjack and poker. Work on a fast shuffle.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 07:32 AM
  2. How come Dev C++ cant run some programs??
    By Sephiroth in forum C Programming
    Replies: 41
    Last Post: 09-17-2005, 05:35 AM
  3. Way to get the current open programs displayed?
    By CPPguy1111 in forum C++ Programming
    Replies: 6
    Last Post: 06-22-2005, 12:24 AM
  4. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  5. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 03:12 AM