Have basic knowledge in C and want to move to C++.....

This is a discussion on Have basic knowledge in C and want to move to C++..... within the C++ Programming forums, part of the General Programming Boards category; I currently have good knowledge of the language basics of C programming.And I'm looking forward to learn C++.Do you think ...

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

    Have basic knowledge in C and want to move to C++.....

    I currently have good knowledge of the language basics of C programming.And I'm looking forward to learn C++.Do you think I should practice C as much as I could and read more then move to C++ when I am experienced with C or just move on to C++ now?
    Thanks in advance

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,304
    If you want to learn C++, learn C++. Having advanced C knowledge will not necessarily help you learn the more advanced aspects of C++, and it may even require some unlearning. As suggested in the book recommendations thread, Accelerated C++: Practical Programming by Example by Andrew Koenig and Barbara E. Moo would be the book to learn from, especially since your knowledge of C should allow you to understand the basic syntax rightaway.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Aug 2006
    Location
    Israel
    Posts
    33
    I agree with laserlight, learn C++ now, don't waste time on C. Knowing C is good, as it allows you to be familiar with programming aspects in C++, but I think C++ is a better and much more comfortable language.

  4. #4
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    C is not a waste of time, that is a ignorant thing to say.

    KidMan: I recommend you try a completely different language instead of trying to learn something simular but different. A scripting language or a language that is bytecode compiled. Then come back and learn C++. The broadening of your knowlegde will help you a lot.

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    7,344
    If you feel like you know C well enough to be able to comfortably write a program on your own, then it is fine to consider learning another language like C++. The benefits of leaning C++ include the exposure to other styles of programming not generally appropriate in C.

    However, if you still feel like you are learning the basics of C, only switch languages if you are giving up on C. Otherwise, you should get to a point where you feel proficient. Learning bits and pieces of different languages doesn't help as much as learning to program a language well.

    If and when you do learn C++, make sure to approach it from a different perspective than you approach C in order to get the most out of it. Using Accelerated C++ is a great way to do that, as it is one of the few (maybe the only) C++ beginners book that approaches C++ from a pure C++ standpoint. The two languages are actually quite different in everything but syntax.

  6. #6
    Registered User
    Join Date
    Feb 2006
    Posts
    4
    well, I started with C and then moved on to C++ when I learned how much more easy it was to program in it. (Almost) Everything in C works in C++. C++ is like a big addition to C. It's much easier to manipulate strings and I/O with C++.

  7. #7
    Registered User
    Join Date
    Aug 2006
    Location
    Israel
    Posts
    33
    Quote Originally Posted by limitedmage
    well, I started with C and then moved on to C++ when I learned how much more easy it was to program in it. (Almost) Everything in C works in C++. C++ is like a big addition to C. It's much easier to manipulate strings and I/O with C++.
    Thats my opinion as well. C is a bit confusing.

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