473,757 Members | 9,145 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ book for beginner?

I am looking for a good C++ book for beginners. I have some experience
with C and a lot of experience with Java. I am currently reading Bjarne
Stroustrups C++ Programming Language but it starts off rather complex
without examples of compiling modules or making and using classes.

Is there some C++ books that takes you through the whole process of
making modules, compiling them and using classes?
Apr 19 '07 #1
4 2668
Johs wrote:
I am looking for a good C++ book for beginners. I have some experience
with C and a lot of experience with Java. I am currently reading Bjarne
Stroustrups C++ Programming Language but it starts off rather complex
without examples of compiling modules or making and using classes.

Is there some C++ books that takes you through the whole process of
making modules, compiling them and using classes?
faq? http://www.parashift.com/c++-faq-lit....html#faq-28.6

Hope it helps, I always used stroustrup, if you know C is not that bad.
It's a bit complex at the beginning but it explains lot of things and it
contains exercises as well. It just require its time in order to be read
and understood.

Regards,

Zeppe

Apr 19 '07 #2

Zeppe wrote:
Johs wrote:
I am looking for a good C++ book for beginners. I have some experience
with C and a lot of experience with Java. I am currently reading Bjarne
Stroustrups C++ Programming Language but it starts off rather complex
without examples of compiling modules or making and using classes.

Is there some C++ books that takes you through the whole process of
making modules, compiling them and using classes?

faq? http://www.parashift.com/c++-faq-lit....html#faq-28.6

Hope it helps, I always used stroustrup, if you know C is not that bad.
It's a bit complex at the beginning but it explains lot of things and it
contains exercises as well. It just require its time in order to be read
and understood.

Regards,

Zeppe
Check out Accelerated C++: Practical Programming by Example

Apr 19 '07 #3
"Johs" writes:
>I am looking for a good C++ book for beginners. I have some experience with
C and a lot of experience with Java. I am currently reading Bjarne
Stroustrups C++ Programming Language but it starts off rather complex
without examples of compiling modules or making and using classes.

Is there some C++ books that takes you through the whole process of making
modules, compiling them and using classes?
I recommend the current edition of _C++ Primer Plus_ by Stephen Prata first
and then _The C++ Standard Library_ by Josuttis. Those, plus the book you
already have, will give you a very good base. Note that the Josuttis book is
a reference AND tutorial. I think a lot of people get hung up and stop
paying attention and think of it as a reference book. The STL is a
convoluted, academic led, mess and you might well go insane without a book
such as Josuttis.
Apr 19 '07 #4
Johs wrote:
I am looking for a good C++ book for beginners. I have some experience
with C and a lot of experience with Java. I am currently reading Bjarne
Stroustrups C++ Programming Language but it starts off rather complex
without examples of compiling modules or making and using classes.

Is there some C++ books that takes you through the whole process of
making modules, compiling them and using classes?
Some tips may help:
1. a good beginner's book is a book with programming exercises for each
chapters, usually a textbook will do,
2. try to solve each every one of the programming exercises,
3. 2nd book followed will be the good old Stroustrup's C++ book. Just by
reading it, you will be able to appreciate his over-simplified examples,
4. 3rd book will be Stroustrup's 2nd book: "the design and evolution of
C++". Do the same, by just reading it, you will be able to know why we
want to use C++.

Back to the beginner's book, my suggestion will be D. S. Malik's "C++
programming: Program Design including Data Structures", current edition.
I used the book to teach CS1 and CS2 courses. The results were fine
and I required students to finish all the programming exercises. I did
not choose Deitel's book for the first book, but assign it as a
reference (2nd opinion). Malik's book explained simple and straight
forward, and easy to follow than be confused. The weakness is pointers
(specifically function pointers), so you may need to find some other
supplements.

This is my choice, the same for Java beginners.

Dr. Boris Chang
Apr 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2481
by: Eduardo Patto Kanegae | last post by:
Hello, I have been programming with Visual Basic and PHP in the last 5 years and some folks had recommended Python a free language.... I had looked for a Python book to start up but found many titles... so, my question finally is: what book could be for a Python beginner - but NOT a programming beginner - which intends to develop *windowed* Python programms and intends to develop for Windows and for Linux? for example, look at Thuban...
8
2382
by: Grrrbau | last post by:
I'm a beginner. I'm looking for a good C++ book. Someone told me about Lafore's "Object-Oriented Programming in C++". What do you think? Grrrbau
7
1880
by: TechBookReport | last post by:
TechBookReport have just published a review of 'C Programming In Easy Steps', if you're a C beginner looking for an intro book (or an ex-C developer looking for a quick refresh), ready why this is a book to consider. Read the review here: http://www.techbookreport.com
1
1289
by: Brett | last post by:
I'd like any recommendations on a good ASP.NET book which discusses these topics: - connecting to SQL Server, MS Access and other databases - communicating with VB.NET and C#.NET - Interacting with Javascript - Session handling - cookies and non cookies, other techniques as well Most likely the above is any ASP.NET book but I'm looking for what you believe to be a very good book. I am a beginner but don't necessarily want a beginner...
20
2297
by: weight gain 2000 | last post by:
Hello all! I'm looking for a very good book for an absolute beginner on VB.net or VB 2005 with emphasis on databases. What would you reccommend? Thanks!
11
1930
by: www.douglassdavis.com | last post by:
I'm looking for advice here, and I would really appreciate it if you could help. Is there a VB 2005 book that you like and would recommend (and why)? Would you consider it good for beginners to programming, intermediate, or advanced level?
5
2747
by: macca | last post by:
Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please? Thanks Paul
6
1987
by: Hello | last post by:
Hello every body Please can any body tells me a good book that can teach me "visual basic 2005" (as beginner). Thank you all =========================================
10
6357
by: R.A.F. | last post by:
Hi, I work since few weeks with C#. NET 2005/2008 and I would like to complete my weak sides with a good book about C#. Could you advise me some which could start from beginner to expert ? I have a 7 years C++ background. i already chose 2 for components : - GDI+ Custom Controls with Visual C# 2005
0
9489
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9298
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10072
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9906
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9737
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6562
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5172
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3399
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.