[C++]My First Program.

Results 1 to 6 of 6
  1. #1
    Grand Master passie is offline
    Grand MasterRank
    Jan 2005 Join Date
    The NetherlandsLocation
    710Posts

    [C++]My First Program.

    hi,
    i maked my first program it can

    *refresh you're ip
    *ipconfig (list of you ip's)
    *flushdns

    soon ill update it with ping system !

    rate my first program
    Attached Files Attached Files


  2. #2
    Grand Master passie is offline
    Grand MasterRank
    Jan 2005 Join Date
    The NetherlandsLocation
    710Posts

    done with ping system

    i got ping system working now as well

    check link :

    download

    ping system works now 100%
    now dont have to typ

    ping xxxx.xxxx.xxxx.xxxx
    Attached Files Attached Files
    Last edited by passie; 16-12-06 at 09:24 AM.

  3. #3
    Grand Master username1 is offline
    Grand MasterRank
    Jul 2004 Join Date
    5,867Posts
    What compiler are you using? It's generating much larger executables than it should.

    If you're using MSVCPP, turn *off* debugging information and *enable* size optimisation, then merge the sections together and use align:4096 and filealign:512. The executable should be no more than ~3Kb since you're essentially just calling external programs.

  4. #4
    Grand Master passie is offline
    Grand MasterRank
    Jan 2005 Join Date
    The NetherlandsLocation
    710Posts
    i know whats wrong it isnt c++ it are c
    im now making it in c++ ! :shifty:
    Last edited by passie; 16-12-06 at 06:24 PM.

  5. #5
    Newbie ZackyComm is offline
    MemberRank
    Jan 2007 Join Date
    CaliforniaLocation
    7Posts
    Heya Passie. I'm a C++ noob (started reading my first book on C++ Jan 1st) and would like to know if you would be willing to post the code under Creative Commons or Public Domain so that beginners (like myself) can learn.
    Thanks,
    Zack

  6. #6
    Grand Master username1 is offline
    Grand MasterRank
    Jul 2004 Join Date
    5,867Posts
    Quote Originally Posted by passie View Post
    i know whats wrong it isnt c++ it are c
    im now making it in c++ ! :shifty:
    What's wrong with that?

    C++ is just an extension of C. Don't deliberately make situations just so you can use those extensions, though. Use them when they make sense.



Advertisement