Thread: what do you think of Learning C++ and then C?

  1. #1
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427

    Question what do you think of Learning C++ and then C?

    I know this is a little bit unusual but what do you think of Learning C++ first AND THEN Learning C? Do you think that there's a lot of disadvantage on this, then then maybe move on to Java, C# and others, what do you think about this?
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    Not having done it myself, I can't really comment on any disadvantages, except for the fact that you'll have spent less time having known how cool C is than you would have if you learned it first.
    Callou collei we'll code the way
    Of prime numbers and pings!

  3. #3
    Unregistered
    Guest
    if I may say so, I learnt C and am now learning C++

    it appears to me that what you learn in C is applied in C++ so it's much like taking one step at a time,

  4. #4
    Sayeh
    Guest
    In the first place, you can't really learn C++ effeciently unless you learn C. C++ is not a different language, it is an extension onto the C language.

    Learn C first. If you don't, you will never make it to professional grade development. Most all C++ developers out there today are amateurs, sad to say, no matter how good they think they are.

    But because they don't know C well enough (foundational learning), they can't even accurately evaluate how poorly they or their code are doing...

    IMHO.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    65
    Shortly, learn both of them. There may be times when you come up with a code just written in C (with C I/0) or you may be asked to support codes written in C. Your good old OOP techiques of C++ won't help you in anyway in C, so try to understand some procedural programming.

  6. #6
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140
    i think this would be a step backwards...

    you should better learn c and then continue with c++. that's the way i do (i am currently learing c). i have a book about c and one about c++. in the c++ book they say, that i should better do it that way, too. first learn the basics and then continue with OOP and so on...

  7. #7
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427

    there seems to be a lot of debate

    There's seem to be a lot of debate on whether or not you should learn C and then C++, the book that I am reading actually says that not learning C before you go to C++ might actually be benefitial to you. But this approach of C++ and then to C, and then to others languages I had never heard it before, so that's why I asked you people. I do know however some C mainly the basics because I stopped at what a lot of people consider the heart of C which is pointer when I got to that my book was not doing a really good job at explaining this so I decided to stop reading it and move on to another book. But from what I've researched C is very powerful because most console games from what I understand are made in C and polished with some other languages. This book also says that once you learn C++ you automatically know about 90% of Java.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  8. #8
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Personally I think it's a little like learning to run before learning to walk!
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed