C++ ??

This is a discussion on C++ ?? within the C++ Programming forums, part of the General Programming Boards category; I know C++ is the improved and updated version of C, but why did they call it plus plus? Are ...

  1. #1
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475

    C++ ??

    I know C++ is the improved and updated version of C, but why did they call it plus plus? Are there two major changes, i know one is OOP! im only wondering if anyone knows wjy it is called C++

  2. #2
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    It's a play off the ++ post increment operator.. To increment C, you can do C+1 or C++ which is symbolic of the next C programming language.
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    And while we're on the subject swgh,

    The name C# (C-sharp) comes from music terminology where C# is one note higher than C (higher pitch = higher frequency).

    C# is the same musical note as D-flat... So, if you hear someone say "D-flat" in reference to programming languages, you'll get the joke.

  5. #5
    Registered User
    Join Date
    Jan 2003
    Posts
    361
    Nice link Thanatos. I was reading through that and I like the queote about C/C++.

    I was about to use the quote "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." in the site I am creating for my javascript class...then I realized it would be best to not talk about shooting peoples legs off in school.

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,452
    > The name C# (C-sharp) comes from music terminology
    In the UK, # also means hash.
    To make a hash of something is a polite way of saying you made a complete mess of it.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Aside from the obvious meaning of what the creators of C# were on ...
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  8. #8
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    When C# came out I was working in telecomm so "C octothorpe" just never made any sense

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