473,395 Members | 1,404 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,395 software developers and data experts.

references on pointers

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
Jul 23 '05 #1
2 1144

"Christian Christmann" <pl*****@yahoo.de> wrote in message
news:42***********************@newsread2.arcor-online.net...
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.
Jul 23 '05 #2


Christian Christmann wrote:
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

Jul 23 '05 #3

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

Similar topics

17
by: Tom | last post by:
The motivation for references seems clear: stop people from using nasty pointers when all they really want is a reference to an object. But C++ references are so inadequate that I'm still using...
15
by: Web Developer | last post by:
Hi, Can someone provide a short and concise statement(s) on the difference between pointers and references. A graphical representation (via links?) of both would be much appreciated as well. ...
8
by: john townsley | last post by:
are there any differences when using pointers or passing by reference when using 1) basic variables 2)complex variable types like arrays,structures it seems easier to simply pass by reference...
11
by: codebloatation | last post by:
I know how to use references but i DO not get WHY they exist other than to add to the language. Are they actually needed for anything?
458
by: wellstone9912 | last post by:
Java programmers seem to always be whining about how confusing and overly complex C++ appears to them. I would like to introduce an explanation for this. Is it possible that Java programmers...
28
by: Frederick Gotham | last post by:
When I was a beginner in C++, I struggled with the idea of references. Having learned how to use pointers first, I was hesitant to accept that references just "do their job" and that's it. Just...
9
by: igor.kulkin | last post by:
References is a relatively basic feature of C++ language. It might be a good thing to think of references as aliases to the variables. However it's good to think of references this way when you...
76
by: valentin tihomirov | last post by:
As explained in "Using pointers vs. references" http://groups.google.ee/group/borland.public.delphi.objectpascal/browse_thread/thread/683c30f161fc1e9c/ab294c7b02e8faca#ab294c7b02e8faca , the...
1
by: sip.address | last post by:
Hi everyone, A while ago I asked for help about using smart pointers (ie. shared_ptr) in cyclic situations. Weak ptrs popped out and I gave it a try, but to be honest, I don't feel very...
19
by: MQ | last post by:
Can someone tell me where I should use pointers and where I should use references? In his book, Stroustrup says that you should use pointers for passing arguments that are to be modified, not...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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,...
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...

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.