473,404 Members | 2,174 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Learning C++ and/or C

Hi all

I'm looking to learn C and/or C++ and I was wondering if there were any good
on-line resources and books.

I am currently a C# developer but I'm keen to discover C/C++ as I feel it
would be a benficial experience.

Any suggestions?

Thanks
Kev
Aug 4 '05 #1
8 1955
hi kev,

there is one good book for the begineers viz thinking in c/ thinking in
c++ by
bruce eckel.

the same can be found at
http://mindview.net/Books/TICPP/Thin...loadingTheBook

thanks

Aug 4 '05 #2
Mantorok wrote:
Hi all

I'm looking to learn C and/or C++ and I was wondering if there were any good
on-line resources and books.


Firstly, I would highly recommend against anything online because I've
yet to come across anything even remotely close to the level of quality
of the books I'm about to recommend.

Personally, I think it's wise to start by learning C and then taking on
C++. The reason is that I don't know how anybody could possibly be a
good C++ programmer without knowing C. I believe that by attempting to
learn C++ first, it could become overwhelming because of the complexity
that OOP adds. I believe this argument still has strong grounds even if
you already know another object oriented language, such as C# because
you will more then likely have to overcome a learning curve with
pointers and such.

On that note, I highly recommend:

- The C Programming Language (2nd Edition) written by Brian W. Kernighan
and Dennis Ritchie.

- The C++ Programming Language (Special 3rd Edition) written by Bjarne
Stroustrup.

- Accelerated C++ written by Andrew Koenig and Barbara E. Moo.

The first book should keep you busy for a little while. After you've
mastered that, I think the next two books should be read together.
Accelerated C++ will get you up and running quickly while The C++
Programming Language can give you a more in-depth understanding when you
want/need it. In fact, those two C++ books were recommended to me when
I first started learning C++ a few years ago.

Good luck,

--
Sean
Aug 4 '05 #3

"Fao, Sean" <en**********@yahoo.comI-WANT-NO-SPAM> wrote in message
news:kj**************@news.abs.net...
Mantorok wrote:
Hi all

I'm looking to learn C and/or C++ and I was wondering if there were any
good on-line resources and books.


Firstly, I would highly recommend against anything online because I've yet
to come across anything even remotely close to the level of quality of the
books I'm about to recommend.

Personally, I think it's wise to start by learning C and then taking on
C++. The reason is that I don't know how anybody could possibly be a good
C++ programmer without knowing C. I believe that by attempting to learn
C++ first, it could become overwhelming because of the complexity that OOP
adds. I believe this argument still has strong grounds even if you
already know another object oriented language, such as C# because you will
more then likely have to overcome a learning curve with pointers and such.

On that note, I highly recommend:

- The C Programming Language (2nd Edition) written by Brian W. Kernighan
and Dennis Ritchie.

- The C++ Programming Language (Special 3rd Edition) written by Bjarne
Stroustrup.

- Accelerated C++ written by Andrew Koenig and Barbara E. Moo.

The first book should keep you busy for a little while. After you've
mastered that, I think the next two books should be read together.
Accelerated C++ will get you up and running quickly while The C++
Programming Language can give you a more in-depth understanding when you
want/need it. In fact, those two C++ books were recommended to me when I
first started learning C++ a few years ago.

Good luck,


Thanks, I've heard that it is also likely to take 2-3 years to become
comfortable with the language, from the offset I can see why that would be
so, how long did it take for you pick up C/C++?

Kev
Aug 4 '05 #4

<ra************@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
hi kev,

there is one good book for the begineers viz thinking in c/ thinking in
c++ by
bruce eckel.

the same can be found at
http://mindview.net/Books/TICPP/Thin...loadingTheBook

thanks


Thanks for the recommendation.

Kev
Aug 4 '05 #5
Also, any recommended compilers too?

Thanks
Kev
"Mantorok" <no**@tiscali.co.uk> wrote in message
news:dc**********@newsfeed.th.ifl.net...
Hi all

I'm looking to learn C and/or C++ and I was wondering if there were any
good on-line resources and books.

I am currently a C# developer but I'm keen to discover C/C++ as I feel it
would be a benficial experience.

Any suggestions?

Thanks
Kev

Aug 4 '05 #6
Personally for me it took around 4-6 month from the day when I new
nothing about c/c++ till I was very comfortable with it. It's been 1.5
since I started to study c++ and I love it!!

Aug 4 '05 #7
Mantorok wrote:
Thanks, I've heard that it is also likely to take 2-3 years to become
comfortable with the language, from the offset I can see why that would be
so, how long did it take for you pick up C/C++?


I took C in college, which helped a LOT because it forced me to work on
assignments I probably would have otherwise skipped over. Additionally,
the instructor was always available to provide me with feedback and to
make suggestions. It was amazing how many optimizations I could make to
my code that I would have otherwise overlooked. With the help of an
instructor, I felt comfortable programming in C within the first six
months. But my learning certainly didn't end there.

As far as C++ goes, I actually taught myself and I picked up my first
set of C++ books (the two I recommended you) back in the spring of 2003.
As of now, I'm comfortable writing object oriented software; but, I
feel like I still have a long way to go before I'd actually consider
myself a *good* C++ programmer. It's not really that the language is
all that difficult to learn; it's just that there are so many different
ways to do things that I believe it could take years to learn how to do
things optimally. Basically, I feel like I'm doing well until I see
some of the posts from the guys here. It's obvious that a few of them
have had quite a lot of experience in C++. My biggest downfall in
learning C++ is that I rarely program in it because my job revolves
around other languages. My plan is to take C++ in college in hopes that
I'll have the same kind of experience that I did while learning C.

Again, good luck,

--
Sean
Aug 5 '05 #8
Mantorok wrote:
Hi all

I'm looking to learn C and/or C++ and I was wondering if there were any good
on-line resources and books.

I am currently a C# developer but I'm keen to discover C/C++ as I feel it
would be a benficial experience.


Firstly... pick a language, if you want to program on platforms for which there is a C++ compiler readily available, I would recommend C++ over C it in most cases.

Right. Now we have that sorted.

Get "Accelerated C++" by Koenig and Moo. Just do it, don't ask any questions. It teaches you how to program C++, it doesn't teach you C, you will not need C, it will get you
writing useful, productive and safe C++ programs quickly. What it teaches you to do may not be groundbreaking for you, but the way it teaches to solve the problem is fundamental.

If you start learning C first, you will undermine the principles of safe C++ coding. Yes, it will teach you the low-level intricacies of things, and how you do things "the hard
way", but if you want to learn C++, learn C++.

You'll be more productive because:

a) You won't have to read a single C book, saving lots of time.
b) You won't have to learn how to do the same things the C++ way afterwards.
c) You won't have to unlearn all the things that will get you into trouble.

The standard library for C++ can much of the C stuff in a much safer way.

Other books that are useful:
"The C++ Programming Language" by Bjarne Stroustrup.

"Effective C++" by Scott Meyers (How to write Classes properly)
"Effective STL" by Scott Meyers (How to use the STL properly)
"Modern C++ Design" by Andrei Alexandrescu (Agreat example of Generic programming with Templates, but quite heavy).

I also have:
"Design Patterns" by Gang of Four. This is a more abstract look at how to solve common problems in OO programming, examples in C++.

Hmm, I think thats all of the books I have, and they're all great; in terms of content and writing style.

Ben
--
I'm not just a number. To many, I'm known as a String...
Aug 5 '05 #9

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

Similar topics

5
by: Ron Stephens | last post by:
The newly rechristened Python Learning Foundation is a web site dedicated to the assistance of people learning the Python programming language. Features include: 1. Daily lists of new and recent...
29
by: Jhon smith | last post by:
Hi,all,I was just wondering if I am likly to have any problems trying to learn C from older books,I have some from the late 80`s,mid/late 90`s. I am using Dev-C++ on the pc windows platform,But I...
4
by: Christian Blackburn | last post by:
Hi Gang, I saw this for sale online: Microsoft Visual Basic.NET Deluxe Learning Edition Version 2003. I'm wondering is the CD that's bundled with the learning edition just a digitized version of...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
7
by: Max | last post by:
On monday I start a semester course in Python (the alternative was Java). I was looking through the course outline and noticed the following: 1) UserDict is used. This is deprecated, right? 2)...
36
by: utab | last post by:
Dear, I have experince in C( numerical projects, like engineering problems, scientific applications) I have the basic notion of C++ also, I have read Accelerated C++ until Chapter 7, however it...
2
by: bokiteam | last post by:
Hi All, Here is my idea to save learning time - Personal learning book. What we really need is somebody really familiar our learning experience, and then takes the example to teach us. Save...
78
by: arnuld | last post by:
hai all, i am standing on a "crossroad to C++". I am here in front of you as i have a problem. i will be brief. Please do not think: "arnuld is sick", i am really struggling & doing hard-work to...
0
by: LK~ICT | last post by:
Sri Lanka rural e-learning project seeks corporate support Dec 04, 2007 (LBO) - A Sri Lankan e-learning initiative for rural students is seeking corporate sector support to expand and cover 400...
16
by: John Salerno | last post by:
Just something that crosses my mind every time I delve into "Learning Python" each night. Does anyone see any value in learning Python when you don't need to for school, work, or any other reason?...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...

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.