How start off with C++

This is a discussion on How start off with C++ within the C++ Programming forums, part of the General Programming Boards category; Hello all: I have been using C-language fror many years. Now I realized that I have to learn the C++. ...

  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    30

    How start off with C++

    Hello all:

    I have been using C-language fror many years. Now I realized that I have to learn the C++. Many new functions there I can not find in C.

    Could you please tell me what the good way is to expand my skill to C++.

    Thanks. --Zhao

  2. #2
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,475
    If you have a pretty good grasp of C then you should pick up C++ quite quickly as the syntax of both languages are very similar. C++ offers OOP which is totally new to a C programmer but its not to hard, just an extension to C-style structs with a lot more on top of that.

    Best idea is to get a C++ book and learn from that although you can proberly skip the simple basics dependant on your experience. The tutorials on this and other sites may also be of use to you.
    I'm just trying to be a better person - My Name Is Earl

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Take a look at the cprogramming.com tutorial. A good intermediate C programmer should be able to work-through the tutorial in a few hours. (One weakness of the tutorial is that it covers C-style strings, rather than C++ string objects.) Here's another tutorial. I'm not sure if it covers C++ strings...

    The following books make good "2nd" C++ books, and are good for people who already know C:

    Quote Originally Posted by DougDbug

    Thinking In C++, by Bruce Eckel - These (2 volumes) make good 2nd C++ books. They cover many C++ topics in depth. ( I think they are supposed to be beginning C++ books for people who already know C.) Thinking In C++ is available FREE online, or you can buy it in hard-copy.

    The C++ Programming Language, by Bjarne Stroustrup - This book has some really helpful information in it. But, it is rather difficult to understand. It seems to have been written for advanced Computer Science students who don't know any C++. It is cool owning the book by the creator of C++!

    The C++ Standard Library, by Nicolai M. Josuttis - I believe this a complete reference to the Standard Template Library (not the entire standard library). It makes a good 2nd C++ book if your beginning book doesn't cover the STL.
    And, you can take a look at the Recommended Books Thread.

    Here are a couple of good online C++ language references:
    cppreference.com
    Dinkumware.com

    You can also download the ANSI/ISO Language Standard from ANSI for $30 USD. NOTE - This is a technical specification, not a "handy reference".

  4. #4
    Registered User
    Join Date
    Sep 2005
    Posts
    30
    I used to use C language for scientific calculation, such as solving differential equations. C++ has another great usage is for windows programming, I don't care for that.

    Where can I find a good "C++ tutorial" on the Web that satisfy my purpose and is able to be downloaded. I hope I can read it not from screen.

    If a good book also has CD of the excerises, that will be great, too. --Zhao

  5. #5
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,420
    Quote Originally Posted by Yumin View Post
    I used to use C language for scientific calculation, such as solving differential equations. C++ has another great usage is for windows programming, I don't care for that.
    C++ is not limited to that alone.
    If you ask me, C++ is superior to C in every possible way. C can still be used from C++ (and mixed with C++) too.
    But as you know, a programming language is not defined from what its used for. C++ can be good for scientific calculation and differential equations, as well, if you just will it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 08:35 AM
  2. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 01:30 PM
  3. C++ gui for windows where to start
    By prixone in forum Windows Programming
    Replies: 2
    Last Post: 12-16-2006, 10:48 PM
  4. GNOME Desktop won't start (Mandriva)
    By psychopath in forum Tech Board
    Replies: 10
    Last Post: 07-19-2006, 01:21 PM
  5. Start bar color in WinXP
    By confuted in forum Tech Board
    Replies: 4
    Last Post: 05-03-2003, 06:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21