Thread: New to C++

  1. #1
    UnknownAmateur Programmer
    Join Date
    Sep 2008
    Location
    Were definitly not in Kasas anymore...
    Posts
    25

    New to C++

    I have had an C compiler but I got a new C++ compiler. I understand the beginnings of C++ is there any thing I should know that is different than C?

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    Not unless you want to exploit any of the features of C++ you don't.

    Come on now. BOOKS have been written on C++. I suggest you go read one.
    Mainframe assembler programmer by trade. C coder when I can.

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    C++ has a huge arsenal of stuff that C doesn't. They're two different languages, after all.
    You need books. The end
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    UnknownAmateur Programmer
    Join Date
    Sep 2008
    Location
    Were definitly not in Kasas anymore...
    Posts
    25
    I want to get a book I'm just not shure how much new stuff I have to learn.

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Get a beginner's book. Read through all of it.
    Get an intermediate book. Read through all of it.
    Get an advanced book. Read through all of it.
    You should now be a very good C++ programmer.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    >> I want to get a book I'm just not shure how much new stuff I have to learn.

    If you want to be a C++ programmer you have a ton of new stuff to learn. If you just want to build C with your new C++ compiler, then you can use your existing C knowledge. Remember, they are totally different languages, but you can use the C language with C++ without much change. If you actually want to use the full C++ language, you'll need to learn a lot of new stuff.

  7. #7
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I have never read any C++ books... But I also did happen to be a very avid Java programmer as well as an experienced C guy.

Popular pages Recent additions subscribe to a feed