difference between c and cpp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vikaskumaragrawal
    New Member
    • Jun 2007
    • 6

    difference between c and cpp

    hi friends i want to know some meaningfull differences betwwen c and cpp????
    can any give its answer????
  • Meetee
    Recognized Expert Contributor
    • Dec 2006
    • 928

    #2
    Originally posted by vikaskumaragraw al
    hi friends i want to know some meaningfull differences betwwen c and cpp????
    can any give its answer????
    Try to search on google!! U will find lots of sites related to this topic..

    Main difference is C++ is object oriented language while C is not.

    Comment

    • vinci
      New Member
      • Aug 2006
      • 62

      #3
      hi there!


      Zodilla58 is right! C++ was developed to answer the lack of features that was not available in C.. basically the not being object oriented of C...

      but search the Net to get the most appropriate answer that would really answer questions in your mind... hehehe

      Comment

      • Rasputin
        New Member
        • Jun 2007
        • 33

        #4
        Personally, I think the main difference between C and C++ is the '++'.

        Ras.

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Originally posted by Rasputin
          Personally, I think the main difference between C and C++ is the '++'.

          Ras.
          What a brilliant observation!

          Comment

          • seforo
            New Member
            • Nov 2006
            • 60

            #6
            c means c and cpp means c plus plus

            Comment

            • Meetee
              Recognized Expert Contributor
              • Dec 2006
              • 928

              #7
              Originally posted by seforo
              c means c and cpp means c plus plus
              I think this thread is giving good entertainment!!

              Comment

              • niskin
                New Member
                • Apr 2007
                • 109

                #8
                I agree, fancy noticing the difference between C and C with a '++' on the end. Of course, that's the only difference... no actual difference in the language *cough*! This comment is not an insult to Rasputin as I am sure they are aware of the difference between C and C++.

                Comment

                • poe
                  New Member
                  • Jun 2007
                  • 32

                  #9
                  C++ is in addition to C. You take a C program and compile it with a C++ compiler. The ++ is the ability to use objects instead of just structures (although you can use structures also). C++ includes the Standard Template Library which includes some commonly used data structures like lists, stacks, queues, and vectors.

                  Comment

                  • Rasputin
                    New Member
                    • Jun 2007
                    • 33

                    #10
                    Originally posted by niskin
                    I agree, fancy noticing the difference between C and C with a '++' on the end. Of course, that's the only difference... no actual difference in the language *cough*! This comment is not an insult to Rasputin as I am sure they are aware of the difference between C and C++.
                    This is a late reply, but I've been out of town for last 2 weeks. Anyway, just to say it's certainly good some times to put some humour in replies, and I'm obviously not taking personal negative answers to that.


                    Ras.
                    Last edited by Rasputin; Jul 16 '07, 05:35 AM. Reason: spelling

                    Comment

                    • bravikumar
                      New Member
                      • Jul 2007
                      • 2

                      #11
                      Hi,

                      C++ is an extension of C language.

                      General meaning of i++ is increment its value by one i.e., it should hold the previous value and add one to it. In the same manner C++ is nothing but "C with Classes" that is holding C features and adding Classes concept to it. The main features are

                      Data Abstraction
                      Data Encapuslation
                      Polymorphism
                      Inheritance and so on.

                      as the other guys said search on google you will find more intresting things to do.

                      Comment

                      Working...