references on pointers

  • Thread starter Christian Christmann
  • Start date
C

Christian Christmann

Hi,

I'm looking for some good references on pointers.

Has anyone read any of these books:

1) C++ Pointers and Dynamic Memory Management
by Michael C. Daconta

2) Memory as a Programming Concept in C and C++
by Frantisek Franek

If so, which one would you recommend? Or are there
maybe any other good books dealing with that topic?

Thank you.

Chris
 
D

Dave

Christian Christmann said:
Hi,

I'm looking for some good references on pointers.

Has anyone read any of these books:

1) C++ Pointers and Dynamic Memory Management
by Michael C. Daconta

2) Memory as a Programming Concept in C and C++
by Frantisek Franek

If so, which one would you recommend? Or are there
maybe any other good books dealing with that topic?

Thank you.

Chris

A really good book that does a wonderful job of explaining pointers is
"Expert C Programming", subtitiled "Deep C Secrets", by Peter Van Der
Linden. Check amazon.com for ISBN 0131774298.
 
M

msalters

Christian said:
Hi,

I'm looking for some good references on pointers.

Has anyone read any of these books:

1) C++ Pointers and Dynamic Memory Management
by Michael C. Daconta

2) Memory as a Programming Concept in C and C++
by Frantisek Franek

If so, which one would you recommend? Or are there
maybe any other good books dealing with that topic?

Without reading more than the title, I know the second
book is bad. C++ has different rules for pointers. Even
NULL is defined differently!

Furthermore, pointers are not nearly as important nowadays
as they used to be. For many purposes, pointers are kept
inside standard classes. E.g. char* is now kept as a
detail in std::string. Learn std::string first, and
worry about char* later. Dynamic memory management too
is mostly history. std::string has a .resize() method.
std::list<> and std::vector<> have .resize() methods too.
Most people don't need to know how they're implemented,
just how to call them.

Try e.g. Accelerated C++ as an introduction in modern
C++ (for people who know a bit about C or old C++ or
even Java)

Regards,
Michiel Salters
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top