CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: Why not ++C

  1. #1
    Join Date
    Aug 2005
    southampton, UK

    Why not ++C

    We all know preincrement is usually a better option then postincrement, the latter (depending on what type) creating temporary objects.

    So why is our beloved language not called ++C?

  2. #2
    Join Date
    Jan 2004
    Düsseldorf, Germany

    Re: Why not ++C

    The language returned by C++ is C, and the first C++ compilers were pre-compilers generating C code.

  3. #3
    Join Date
    Aug 2007

    Re: Why not ++C

    Stroustrup does recognize this:
    Quote Originally Posted by Bjarne Stroustrup in The C++ programming language 3rd edition
    Connoisseurs of the C semantics find C++ inferior to ++C.
    something else i read somewhere:
    it's C++ rather than ++C because ++C wouldn't return C before the increment. Backwards compatibility would be lost

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)