Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Learning C/C++

  1. Jun 25, 2004 #1
    I know Visual Basic and Java now, but I think it's time I learn C/C++.

    Do I need to learn just C++ or is C worthwhile too? [yes, I know they are similiar...]

    1) Books/Tutorials?

    2) Is there a discount [student...] for acquiring the software with?

    If you're familiar with both Java and C++, how similiar are they to each other?
  2. jcsd
  3. Jun 25, 2004 #2
  4. Jun 25, 2004 #3
    By the way, I once heard Jeff would like to solve some of his books, you can go to ebay and search for him.
  5. Jun 26, 2004 #4
    For C the best book IMO is
    C A Modern Approach by KN King followed by
    Pointers On C (forgot the authors name).
    Neither book teaches GUI programming but figuring out pointers is tough enough. Learn C then advance to the GUI.

    As far as software goes, Dev-C++ is free and decent windows IDE. It's good enough to learn on. I think you can get a free basic compiler for Windows from MS now (I use a Mac so I'm not positive) and if you register as a student at Borland you can get the Borland compiler for free also. Intel Also has a free windows compiler. VC++ is what, $100 standard (comes with a fat text) and $69 student??? Something like that.

    My opinion is learn C advance to C++. I know others will disagree, but to heck with them. Many large scale projects are written in C. C is easy to learn because it is structured like a standard thought process (most people don't think in terms of 'objects'). Once you get competent with C then advance to C++. As another note, I dislike Jave. I can program in it, but I don't like to. Just a preference (I learned C on an Amiga 500 after all). Java and C++ share some syntax (as do most languages) and the object structure is the same. They are differnt though. If you know how to program in one language then others usually come easily. many of the pitfalls associated with C/C++ are not present in Java, so C/C++ requires a little more understanding as to what is actually going on as far as memory allocation, and usage are concerned. My 2 cents.

    Good luck.
  6. Jun 26, 2004 #5
    Pointers On C (Kenneth A. Reek).
  7. Jun 26, 2004 #6


    User Avatar

    As far as the United States is concerned, you can save a load of money on software if you are currently a student (undergraduate or graduate) at any accredited university. Check out JourneyEd and the Academic Superstore for more information on eligible schools as well as prices.

    If you live in any country other than the United States, I'm sorry I cannot help you. I really don't know how the academic discounts work involving international colleges or other countries; however, I believe Microsoft offers the same academic prices to Canada as they do the United States.
    Last edited: Jun 26, 2004
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Learning C/C++
  1. Learning C (Replies: 6)

  2. Learning C++ (Replies: 9)

  3. A C problem (Replies: 9)