C or C++

This is a discussion on C or C++ within the C++ Programming forums, part of the General Programming Boards category; I have just about learned the basics of C programming and I wanted to know what the advantages of C++ ...

  1. #1
    Granger9
    Guest

    Question C or C++

    I have just about learned the basics of C programming and I wanted to know what the advantages of C++ were to C programing and also do I need to be good at C before I could do C++. (I would want to use the language for windows based games and applications!)

    ????

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    structured programming(object oriented programming) built into the language via classes. That is fundamentally the difference.

    the following arguments from the animated fools around here mean nothing.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    85

    Re: C or C++

    Originally posted by Granger9
    I have just about learned the basics of C programming and I wanted to know what the advantages of C++ were to C programing and also do I need to be good at C before I could do C++. (I would want to use the language for windows based games and applications!)

    ????
    This question has been asked for millions times.
    Try to search on this site, then ya will know!
    Good luck
    DV007

  4. #4
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    don't forget about STL!

  5. #5
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    Originally posted by Aran Elus
    don't forget about STL!
    templates, new, reference, etc... there are lots of additions, I was just narrowing it all down into the most important difference.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  6. #6
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Unfortunately Microsoft Windows does not support Standard C++. From what I have seen, Microsoft C++ is basically the C programming language with classes and inheritance. Due to the poor quality of C++ on the Microsoft OS, you should learn the C programming language very well, infact you may be able to take it all the way with just the C language and very basic rudimentary knowledge of OOP.

  7. #7
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    to finish this thread off, go here:

    FAQ Difference between C, C++ and C#
    (this question has already been answered at least a thousand times before this thread was put in the faq board though. many times i think the topic titles were the exact same as this one)

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >I wanted to know what the advantages of C++ were to C programing
    There are no advantages in using one over the other, learn them both and don't try to compare and contrast them, it will only confuse you.

    -Prelude
    My best code is written with the delete key.

  9. #9
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    I started with C then moved onto C++, and I continue to use both, they are both very useful tools in their own right.

    But as Prelude says, learn them both. By doing so you will be doing yourself a favour if you are looking to get into programming proffesionaly.. if not, well, you can never know too little.
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21