[C++] Number Doubler

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled! Hubba-Hotel is offline
    MemberRank
    Feb 2007 Join Date
    ScotlandLocation
    513Posts

    [C++] Number Doubler

    I have created a program that doubles a number for you.

    Please don't flame me as a noob as I have only started learning C++ today and am quite proud of my program :D
    Attached Files Attached Files


  2. #2
    Apprentice ExploitR is offline
    MemberRank
    Aug 2009 Join Date
    23Posts

    Re: [C++] Number Doubler

    ...So you just do
    cout << "Enter a number:" << std::endl;
    cin << number;
    cout << "Your number doubled: " << number*2 << std::endl;
    ...Why is this in the showcase section D: At least your trying C++ i guess..

  3. #3
    Proficient Member alexz003 is offline
    MemberRank
    Jun 2008 Join Date
    157Posts

    Re: [C++] Number Doubler

    Quote Originally Posted by ExploitR View Post
    ...So you just do
    cout << "Enter a number:" << std::endl;
    cin << number;
    cout << "Your number doubled: " << number*2 << std::endl;
    ...Why is this in the showcase section D: At least your trying C++ i guess..
    Oh, don't be mean to the kid, he is just learning ^^

  4. #4

    Re: [C++] Number Doubler

    Bit of a massive bump, good job for one day I suppose.
    With what you know, I still think you could have come up with a better idea. :P

    How about a word scrambler?
    Last edited by Tyggo; 18-06-10 at 03:50 PM.

  5. #5
    Not active anymore! Winter is offline
    MemberRank
    Aug 2009 Join Date
    AustraliaLocation
    461Posts

    Re: [C++] Number Doubler

    It's great to see more people are contributing to the coding side of RZ. Well done for having the guts to release this as a 'noobie'.



Advertisement