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

C++ for beginners

  1. Mar 7, 2012 #1
    Hello all,
    I am looking for an excellent book on C++ programming to read during the summer. I have never programmed before, so it would most definitely have to be at the calliber of a beginner. I'm looking for a book that begins with basics such as algorithms, pseucode and then the actual language itself.

    Here is a course description of the class that I have to take next year:
    CMPT 116 is an introductory Computer Science programming course intended for students majoring in Engineering. The purpose of the course is to introduce Engineering students to programming and related computing concepts such as data types, control structures, functions, libraries, simple data structures, recursion, arrays, and numerical analysis. The emphasis is on problem solving, algorithms, and programming concepts, with significant practical work. At the completion of the course, students will be able to use a computer to assist them in solving problems and produce associated documentation.

    C++ is the language used throughout the course since it is particularly relevant to engineering applications. However, CMPT 116 is not a course for learning the C++ programming language per se; rather, it is meant to introduce basic programming concepts that form the foundation for more general problem solving and computation skills (using almost any programming language). Only those language constructs that are needed to present particular computer science and programming concepts are introduced.

    Microsoft Visual C++ is the programming platform used for this course.
  2. jcsd
  3. Mar 7, 2012 #2
    In my 12+ years programming C++ I have only seen very few good beginning C++ books.

    This book I cannot stress high enough after looking through it, it is simply outstanding for introducing C++ to the reader as a new programmer.

    C++ Without Fear: A Beginner's Guide That Makes You Feel Smart

    I've even thought about purchasing a copy for myself just because I like this book so well for introducing C++.
  4. Mar 7, 2012 #3
    That's pretty cheap. Thanks for the suggestion! Does it go into detail as to the method of programming? As stated in the explanation above, C++ may be the language, but the class is more geared towards "basic programming concepts that form the foundation for more general problem solving and computation skills".
  5. Mar 7, 2012 #4
    It has exercises in every chapter do them and I am sure you will build your problem solving skills.
  6. Mar 8, 2012 #5
    I wouldn't recommend C++ as a beginning programming language, but a good book for it is Accelerated C++ by Koenig and Moo.
  7. Mar 8, 2012 #6
    I don't have a choice as to which language I learn first; this is a course that is required for my degree. I will, however, be learning a bit of Verilog within the next two weeks.
  8. Mar 13, 2012 #7
    "Accelerated C++" by Andrew Koenig and Barbara E. Moo if you have programmed before // http://www.acceleratedcpp.com/

    "C++ Primer" by Stanley B. Lippman, Josee Lajoie and Barbara E. Moo if you have NOT programmed before // http://www.pearsoned.co.in/web/books/9788131710777_C-Primer_Barbara-E-Moo.aspx

    "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup is also pretty good as an alternative to "C++ Primer" // http://www.stroustrup.com/Programming/

    See also: http://www.parashift.com/c++-faq-lite/how-to-learn-cpp.html#faq-28.4
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook