473,765 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asking about good books

I just started c programming. I want to migrate to c++. I know a little
bit about class/inheritance.
I am asking for good books to read. Elementary will be good.

Thanks for any comments

Jan 9 '06 #1
17 1897
I_got_questions ? wrote:
I just started c programming. I want to migrate to c++. I know a little
bit about class/inheritance.
I am asking for good books to read. Elementary will be good.


"Accelerate d C++" by Koenig & Moo.

Resist the temptation to code C++ like it's C, you'll lose a lot of it's
power. Reading that book will get you from "Hello World" to solving
problems which are much more interesting, and very little of it, if any,
looks like C.

Ben Pope
--
I'm not just a number. To many, I'm known as a string...
Jan 9 '06 #2
On 2006-01-09, I_got_questions ? <un************ @hotmail.com> wrote:
I just started c programming. I want to migrate to c++. I know a little
bit about class/inheritance.
I am asking for good books to read. Elementary will be good.


The two C++ books I own and constantly referencing are:

The C++ Programming Language 3rd Ed.: Bjarne Stroustrup
The C++ Standard Library: Nicolai M. Josuttis

They are really very handy.

- Russell
Jan 9 '06 #3
"I_got_question s?" <un************ @hotmail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
I just started c programming. I want to migrate to c++.
First some speculation about your motives, and some
corresponding remarks:

Does this mean you're abandoning learning C and want
to learn C++ first or instead? If so, fine. If you're wanting
to learn both simultaneously, I strongly recommend against it,
as the very similar syntax, but often very different semantics,
will probably cause confusion with both languages.

If you're wanting to use C++ knowledge as an 'extension'
to your C knowledge, This is a mistake. C and C++ are two
separate, distinct langauges.
I know a little
bit about class/inheritance.
I am asking for good books to read. Elementary will be good.

Thanks for any comments


Visit www.accu.org, look at the book review section,
category 'beginner's C++'.

My personal recommendation for you would be:
www.acceleratedcpp.com

-Mike

Jan 9 '06 #4

Mike Wahler wrote:
"I_got_question s?" <un************ @hotmail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
I just started c programming. I want to migrate to c++.


First some speculation about your motives, and some
corresponding remarks:

Does this mean you're abandoning learning C and want
to learn C++ first or instead? If so, fine. If you're wanting
to learn both simultaneously, I strongly recommend against it,
as the very similar syntax, but often very different semantics,
will probably cause confusion with both languages.

If you're wanting to use C++ knowledge as an 'extension'
to your C knowledge, This is a mistake. C and C++ are two
separate, distinct langauges.

Thank you all for the suggestions. It is very helpful.
I perhaps should know more about C programming before I move to C++.

Jan 10 '06 #5
I'd recommend two books:
1) Deitel "Programmin g in C++"
If thats too easy, try abovementioned Stroustrup "The C++ Language",

Jan 10 '06 #6

"I_got_question s?" <un************ @hotmail.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...

Mike Wahler wrote:
"I_got_question s?" <un************ @hotmail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
>I just started c programming. I want to migrate to c++.


First some speculation about your motives, and some
corresponding remarks:

Does this mean you're abandoning learning C and want
to learn C++ first or instead? If so, fine. If you're wanting
to learn both simultaneously, I strongly recommend against it,
as the very similar syntax, but often very different semantics,
will probably cause confusion with both languages.

If you're wanting to use C++ knowledge as an 'extension'
to your C knowledge, This is a mistake. C and C++ are two
separate, distinct langauges.

Thank you all for the suggestions. It is very helpful.
I perhaps should know more about C programming before I move to C++.


No. This is a very common misconception. No knowledge
of one langauge is necessary in order to learn the other.
(As a matter of fact it can sometimes be a hindrance).
See this excerpt from the FAQ for 'alt.comp.lang. learn.c-c++'
(the 'learner's group): http://ma.rtij.nl/acllc-c++.FAQ.html#q2.3
Also see:
http://www.parashift.com/c++-faq-lit....html#faq-28.2
and:
http://public.research.att.com/~bs/learn.html

If you want to learn C, learn C.
If you want to learn C++, learn C++.
If you want to learn both, learn both. Either one first.
But trying to learn both simultaneously is imo a recipe
for insanity. :-)

Informational: C++ (especially its standard library) has
features that can protect you from many of the common
errors that are easy to make and hard to find in C.
If you read a C++ book like "Accelerate d C++", imo as
a beginner you'll much more quickly write more useful
programs with less bugs than with C and a beginner's
C text.

-Mike
Jan 10 '06 #7
Mike Wahler wrote:
"I_got_question s?" <un************ @hotmail.com> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...

No. This is a very common misconception. No knowledge
of one langauge is necessary in order to learn the other.
(As a matter of fact it can sometimes be a hindrance).
See this excerpt from the FAQ for 'alt.comp.lang. learn.c-c++'
(the 'learner's group): http://ma.rtij.nl/acllc-c++.FAQ.html#q2.3
Also see:
http://www.parashift.com/c++-faq-lit....html#faq-28.2
and:
http://public.research.att.com/~bs/learn.html

If you want to learn C, learn C.
If you want to learn C++, learn C++.
If you want to learn both, learn both. Either one first.
But trying to learn both simultaneously is imo a recipe
for insanity. :-)

Informational: C++ (especially its standard library) has
features that can protect you from many of the common
errors that are easy to make and hard to find in C.
If you read a C++ book like "Accelerate d C++", imo as
a beginner you'll much more quickly write more useful
programs with less bugs than with C and a beginner's
C text.


What he said.

Ben Pope
--
I'm not just a number. To many, I'm known as a string...
Jan 10 '06 #8
"Mike Wahler" <mk******@mkwah ler.net> writes:
[...]
"I_got_question s?" <un************ @hotmail.com> wrote in message
Thank you all for the suggestions. It is very helpful.
I perhaps should know more about C programming before I move to C++.


No. This is a very common misconception. No knowledge
of one langauge is necessary in order to learn the other.
(As a matter of fact it can sometimes be a hindrance).


Strange that anyone would say this, since the overlap between the two
is large.

I don't think it's "necessary" to learn C first, but it would probably
be optimum, since, for the most part, C is a subset of C++, and
new concepts are usually better-learned in smaller chunks rather
than larger chunks.

But far be it from me to contradict "the experts..."
--
% Randy Yates % "How's life on earth?
%% Fuquay-Varina, NC % ... What is it worth?"
%%% 919-577-9882 % 'Mission (A World Record)',
%%%% <ya***@ieee.org > % *A New World Record*, ELO
http://home.earthlink.net/~yatescr
Jan 10 '06 #9
Randy Yates wrote:

[ ... ]
No. This is a very common misconception. No knowledge
of one langauge is necessary in order to learn the other.
(As a matter of fact it can sometimes be a hindrance).
Strange that anyone would say this, since the overlap between the two
is large.


Yes and no -- the overlap between the languages proper is quite large,
but the overlap between the parts a beginner wants/needs to learn first
are substantially smaller.
I don't think it's "necessary" to learn C first, but it would probably
be optimum, since, for the most part, C is a subset of C++, and
new concepts are usually better-learned in smaller chunks rather
than larger chunks.


IMO, it's far from optimum. The problem is simple. what you learn at
the very first with both languages (e.g. x=y+z;) is identical. Almost
as soon as you move much beyond that, you have to learn _more_ with C
than with C++ to really do much. E.g. to write even a trivial program
to read in a text file, sort the lines, and print them back out, is
considerably more work to do at all well with C than with C++.

--
Later,
Jerry.

Jan 10 '06 #10

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

Similar topics

6
1950
by: Christine | last post by:
I am looking for some good C/C++ tutorials either online or in book form. I am using Dev C/C++ 4 (from www.bloodshed.net) and I am using WindowsXP operating system. I don't have the money for MS Visual C++ at this point. Can anyone tell me if I have a good compiler/IDE? I don't plan on doing anything huge. Using tutorials, I have already written a few very basic programs and a game using SDL library(from www.libsdl.org) and I...
7
5285
by: tada991 | last post by:
Hello Everyone, I just purchased Visual Studio .Net Architect 2003 and want to know what's a good book for begginers to start with. I know nothing about programming whatsoever, but I do have a desire to learn- as obvious with this purchase. So please let me know where I can start and thanks. Also, what newsgroup should I post my queries to?
258
8730
by: Terry Andersen | last post by:
If I have: struct one_{ unsigned int one_1; unsigned short one_2; unsigned short one_3; }; struct two_{ unsigned int two_1;
7
1971
by: MiniStreak | last post by:
Hi fellow programmers................... I am trying to learn ASP .NET ver 1.1 using VB .NET only on a windows 200 Pro machine. I have done quite a bit with ASP 3 but have been off programming for about a year... Can any of you recommend a good book from a reputable author? Thanks in advance for your comments and suggestions. Best Regards, Mark
7
1719
by: boostngti via DotNetMonster.com | last post by:
I have 4 years of programing exp. with Coldfusion, and I am begining to learn ASP.NET C# and was wondering if some people could suggest some good books. I went to Barnes & Noble the other day and kind of looked over a few book. If anyone has read any of the following I would like to know what you thought of the book. Beginning ASP.NET 1.1 in C#: From Novice to Professional...
3
1200
by: Khaled Hussein | last post by:
Hi every body, I am working as freelancer, and I wanted to start posting my CV and ask for job offers... But as I know that this is a public newsgroups so I am not allowed to do all what comes up to my mind. I wanted to ask about the rules. Am I allowed to post my CV in here, and ask for a job offer? Thanks Khaled Hussein
4
1834
by: Sumit | last post by:
Hello! I I am new to this group and a beginner in C programming. I want to know that now should I give more importance in learning programming fundamentals and program solving or on good programming practices like including comments in programmes and using functions. Can anyone help me out there
2
2000
by: SF | last post by:
Hi, I have done some coding with Access and I want to try using VB.NET. I am looking for a good book with examples specially on data access (database). Could someone in this group recommend? Does 'Hitchhikers Guide to Visual Studio and SQL Server Best Practice Architectures and Examples (7th Edition)' use VB.NET platform? SF
76
4091
by: lorlarz | last post by:
Crockford's JavaScript, The Good Parts (a book review). This shall perhaps be the world's shortest book review (for one of the world's shortests books). I like Douglas Crockford (because I am a crabby old man too; plus he _is_ smart and good).. But, how can he write a book on the good parts of JavaScript and not mention functions that address CSS & DOM? Weird. It's like
0
9568
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
9399
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
10007
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
9957
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
9835
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...
1
7379
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.