Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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 like why we use c++ and why visual c++

Comments

  • AsmGuru62AsmGuru62 Posts: 6,519Member
    [color=Blue]Some excellent books are here:
    [link=http://www.ibiblio.org/pub/docs/books/eckel/]http://www.ibiblio.org/pub/docs/books/eckel/[/link]

    You need:
    "Thinking in C++ Volume 1"
    "Thinking in C++ Volume 2"

    Of course, Linux is diffreent system, so the source code must be re-compiled to build binaries (EXE files) for Linux, instead of Windows. However, to do this - the source code must contain some code, which changes if you change compiler settings - read about the "#define"/"#ifdef" statements from C language - it allows to replace parts of code with different code, so the same source can be re-compiled for both Windows and Linux just by changing one compiler setting.

    As for Visual C++ - the differences are not that big. VC++ has some C++ extensions, which standard C++ does not have:
    [link=http://msdn.microsoft.com/en-us/library/x84h5b78.aspx]http://msdn.microsoft.com/en-us/library/x84h5b78.aspx[/link]

    Also, VC++ has excellent tools, like debugger or form designer. They are very good and allow to build quality applications quickly.
    [/color]
  • neerajrawat1neerajrawat1 Posts: 3Member
    I already got thinking in c++ in pdf format in one forum saw few starting pages but dont know if its a good start as there discussed functions and namespace in the beginning dont know if its good for freshers.

    Yup I know windows and linux both are different compilers are different if I am using the linux compiler output would be linux compatible so in which language compilers are written?How they made it separately for windows and linux using which language as the extension are different for both.

    Thanks for all your reference links
  • AsmGuru62AsmGuru62 Posts: 6,519Member
    [color=Blue]I do not understand your question "in which language compilers are written?". Compilers are EXE files - they can be written in any language. There is no connection between language compiler is written with and language which compiler "understands". C++ compiler can be written using BASIC - it will be slower, but it will work.[/color]
  • c_programmingc_programming Posts: 3Member
    This post has been deleted.
Sign In or Register to comment.