Thread: Diffrence in C and C++...From "Homework" thread

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    5
    Y'all love thisone then:
    What's then diff tween C & C++?


    wannabe Newbie

  2. #2
    Registered User kitten's Avatar
    Join Date
    Aug 2001
    Posts
    109
    C++ supports inheritance, templates and encapsulation to mention few things... Somebody may continue from this.
    Making error is human, but for messing things thoroughly it takes a computer

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    58
    c++ is object orented where as C is not, they are closely related as a matter of fact c++ is the predicessor of C. C++ means C+1 There for its the language C and more. The diffence between the two is very small, they work on the same principles although the header files my differ. were as in C++ you will see a lot of "cout<<"hello world;" " in C you will see more 'printf("hello world)'. also in C you cant call a sting by using 'string variale;' those are the diffrences.
    --== www.NuclearWasteSite.com==--

  4. #4
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    >>The diffence between the two is very small

    You are kidding right?

    I never coded C, but I thought the major benefit of C++ was CLASSES.

    Hence the reason why some people call C++ "C with classes."

    Just a thought...
    Last edited by Betazep; 09-23-2001 at 01:01 PM.
    Blue

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    154
    Originally posted by rkjd2
    c++ is object orented where as C is not, they are closely related as a matter of fact c++ is the predicessor of C.
    I think you mean C is the predecessor of C++.

Popular pages Recent additions subscribe to a feed