Results 1 to 2 of 2

Thread: C and C++

  1. #1

    Thread Starter
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772

    C and C++

    OOP aside, is there a distinct advantage that one has over the other?
    Alcohol & calculus don't mix.
    Never drink & derive.

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    C++ is basically C (a nice, well-designed language) with OOP and some extras bolted on in various anatomically incongruous places

    Apart from OOP, useful features are templates (you can make template functions and structs rather than just classes), and exceptions (you don't have to throw an object, you can throw any data type).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width