Thread: Best Book/Resources To Learn C++

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    2

    Best Book/Resources To Learn C++

    Hey friends,I am a complete newbie in programming c++,know a bit of c language just the basics not advance thing.I was just googling and came here.

    Now I want to learn c++ from scratch to advance level nomatter how much time it will take,so can you suggest few good books saw other threads as well but there are so many books got confused which one to read.I know everyone suggested according to their experience but its kinda confusing for a newbie.isnt it?Read somewhere complete reference by herbert shildt is good but read at few forums that its not good and not recommended

    Now experts plz tell me a good book which covers all c++ basics and fundamentals my queries like how to design softwares that work on windows and how to make it for linux as well.

    Like it always surprise me developers write code separately for all os or they just change the extension like a software is there for windows in exe and same is there for mac in dmg or say linux in rpm so do they write separate codes or just change the extension then how

    And what is the difference in c++ and visual c++,what are the pros and cons of both

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    C++ Book Recommendations
    Accelerated C++, thinking in C++ are good choices.

    > And what is the difference in c++ and visual c++,what are the pros and cons of both
    C++ is a language specification, as published by ISO
    Visual C++ is an implementation of that specification, as published by Microsoft. It allows you to compile C++ programs, and provides a number of other useful "productivity" tools.
    GCC is another implementation, as published by FSF. It too allows you to compile C++ programs.
    And so on.

    > Like it always surprise me developers write code separately for all os
    Not likely.
    A large block of the code will be common to all operating systems. It gets OS specific at the edges, particularly when it gets to the point of packaging the software for distribution.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    template<typename T> threahdead's Avatar
    Join Date
    Sep 2002
    Posts
    214
    This is not a book, but if you know C you might want to try this online tutorial:

    C++ tutorial for C users

  4. #4
    Registered User
    Join Date
    Apr 2011
    Posts
    2
    @Salem

    The top link has good elaborated books and Accelerated C++, thinking in C++ are written there not exactly as beginners book I need something that teaches all the basics first in sequential manner saw thinking in c++ many things are discussed earlier like namespace and all before discussing the data types and first program.

    Yup heard that gcc is a compiler for linux,ya the code is same logic remains same but the compilers are different for different OS ,any idea in which language compilers are written as different OS has different extension then how do they make compilers for OS ,yup need to know how they do packaging of the software for distribution.

    @threahdead
    threahdead is offline

    thanks for the link but as if now looking for books

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by neerajrawat
    The top link has good elaborated books and Accelerated C++, thinking in C++ are written there not exactly as beginners book I need something that teaches all the basics first in sequential manner saw thinking in c++ many things are discussed earlier like namespace and all before discussing the data types and first program.
    I don't know about Thinking in C++ as I have never really read it, but Accelerated C++ teaches all the basics first in a sequential manner for beginners to C++. In my opinion it is not geared towards absolute beginners to programming, but with your minimal C background that should not be a problem for you.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What is the best book for a beginner to learn c++
    By curt22 in forum C++ Programming
    Replies: 19
    Last Post: 07-10-2007, 04:29 PM
  2. Book for Newbie trying to learn C
    By uthscsa19 in forum C Programming
    Replies: 23
    Last Post: 12-24-2005, 11:02 AM
  3. Good Book to learn C++
    By earth_angel in forum C++ Programming
    Replies: 9
    Last Post: 06-15-2005, 02:14 PM
  4. Good book to learn C from?
    By jcw122 in forum C Programming
    Replies: 5
    Last Post: 10-09-2004, 03:25 PM
  5. good book to learn from????
    By Goof Program in forum C Programming
    Replies: 2
    Last Post: 01-29-2002, 06:08 PM

Tags for this Thread