C++

This is a discussion on C++ within the C Programming forums, part of the General Programming Boards category; Reading the title of this post, people wonder why it is in C section. The reason behind this is this ...

  1. #1
    1337
    Join Date
    Jul 2008
    Posts
    135

    C++

    Reading the title of this post, people wonder why it is in C section. The reason behind this is this question is for C programmers to answer.

    Here are a few quotes:
    C++ is a better C
    C++ is a superset of C
    C++ could do anything that C could

    My question is why people still use C. Why don't just use C++, as it is better etc..
    I know that there must be at least a reason. That is what i want to know.

    EDIT: I am posting it here because i know that C programmers should know better.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,628
    Please search the board.

    *thread closed*
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

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