Page 3 of 3 FirstFirst 123
Results 31 to 41 of 41
  1. #31
    TsumikiriX's Avatar
    Join Date
    Jan 2006
    Posts
    20
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by shercipher
    I hate to break it to you, that is typical C. But not because of the reason he provided, because you can use printf() in both C and C++.

    But there is nothing C++ specific in there; no references, classes, object orientation, or instantiation. In other words, it is C, because you can plug this code into an ANSI C compiler and it would still run.

    And C# has nothing to do with this; in fact that is incorrect C# syntax.

    EDIT: And by the way, both C and C++ use the same header include system.
    This is a telltale sign of C:

    #include <stdio.h>

    This is a telltale sign of C++:

    #include <iostream> //note there is no .h
    using namespace ...; //C does not use namespaces
    He's kinda' right...if it were C++, it would have a prefix in the header for example

    C code:

    #include <stdio>


    C++ code:

    #include <cstdio>

  2. #32
    Dave84311's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    The Wild Wild West
    Posts
    35,837
    Reputation
    5782
    Thanks
    41,292
    My Mood
    Devilish
    Prefix's have nothing to do with being coded C or C++, hes talking about suffix... Hence the .h, but as I mentioned it depends on usage.





    THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE


    "First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311

    HAVING VIRTUAL DETOX

  3. #33
    shercipher's Avatar
    Join Date
    Dec 2005
    Posts
    108
    Reputation
    10
    Thanks
    14
    C/C++ has a very fine line. A rule of thumb is that C++ is just an object oriented extension of C, so if you see anything object oriented (ie a class, inheritance, instantiation, or namespaces) you can assume with 99.99% certainty it is C++.

  4. #34
    [gen]'s Avatar
    Join Date
    Jan 2006
    Posts
    11
    Reputation
    10
    Thanks
    0
    If you learn C#, you will be able to program in J#, Java, and ASP.net, or any .net framework language. And that can be applied to any of those stated, learn java and you can easily grasp the others.

  5. #35
    kvmn8's Avatar
    Join Date
    Jan 2006
    Location
    PANTS
    Posts
    1,157
    Reputation
    10
    Thanks
    104
    im actually developing a new coding language anyone got sugestions for a name?

  6. #36
    coffee's Avatar
    Join Date
    Dec 2005
    Posts
    5
    Reputation
    10
    Thanks
    0
    Yeah, call it SWYAA, short for Stop While You Are Ahead. If you're on a game cheating forum asking for a name for your programming language, chances are it won't take the world by storm.

  7. #37
    Dave84311's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    The Wild Wild West
    Posts
    35,837
    Reputation
    5782
    Thanks
    41,292
    My Mood
    Devilish
    Quote Originally Posted by shercipher
    C/C++ has a very fine line. A rule of thumb is that C++ is just an object oriented extension of C, so if you see anything object oriented (ie a class, inheritance, instantiation, or namespaces) you can assume with 99.99% certainty it is C++.
    #include <iostream> //note there is no .h
    Not the same thing. And that is a no brainer.





    THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE


    "First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311

    HAVING VIRTUAL DETOX

  8. #38
    shercipher's Avatar
    Join Date
    Dec 2005
    Posts
    108
    Reputation
    10
    Thanks
    14
    Look - I'm not trying to argue. I am telling you though C++ is just stuff built on top of C. It isn't downwards compatible - a pure C compiler doesn't know wtf a class is - but that code IS pure C compatible.

    If you doubt me so much I will take the time to get Pelles C (C only compiler) and run that code for you, just to prove it works. Anything that is C is C++; but anything that is C++ is not C (think of it like square and rectangle).

  9. #39
    Dave84311's Avatar
    Join Date
    Dec 2005
    Gender
    male
    Location
    The Wild Wild West
    Posts
    35,837
    Reputation
    5782
    Thanks
    41,292
    My Mood
    Devilish
    ... Lmao, I don't think anyone is saying it isn't...





    THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE


    "First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311

    HAVING VIRTUAL DETOX

  10. #40
    snipelock's Avatar
    Join Date
    Jan 2006
    Location
    SNIPERNEST!
    Posts
    136
    Reputation
    10
    Thanks
    53
    my friend cosmiccomie is going to learn how to use c ++ programs from his mom! oh! But his mom is a computer genuis and will teach him everything he will need to no.....unfair....

  11. #41
    shercipher's Avatar
    Join Date
    Dec 2005
    Posts
    108
    Reputation
    10
    Thanks
    14
    Off topic but -

    "one shot, three kills"

    ROFLMAO.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Neopets - NeoQuest II Trainer
    By sockopen in forum Visual Basic Programming
    Replies: 12
    Last Post: 07-03-2007, 01:19 PM
  2. The Warrock Trainer
    By tomvernons in forum WarRock - International Hacks
    Replies: 4
    Last Post: 02-05-2006, 01:23 AM
  3. (SEARCHING)WarRock Trainer
    By User Namem in forum Hack Requests
    Replies: 11
    Last Post: 02-02-2006, 07:48 PM
  4. Trainer?
    By outrage20 in forum Gate To Heaven Hacks
    Replies: 1
    Last Post: 01-17-2006, 05:52 AM
  5. MPGH Warrock Trainer v1.010206
    By Dave84311 in forum WarRock - International Hacks
    Replies: 21
    Last Post: 01-10-2006, 06:41 PM