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

pointers and dynamic memory in C++

Hi,

i am looking for book/web siete about pointers, memory in C++ ? Does any
one know something up to date and good about these subjects ? Everything
I found on Amazon is slightly dated ...

Thanks !

Fibre Optic
Jul 23 '05 #1
5 1035
Ian
Fibre Optic wrote:
Hi,

i am looking for book/web siete about pointers, memory in C++ ? Does any
one know something up to date and good about these subjects ? Everything
I found on Amazon is slightly dated ...

Have pointers changed over the past 20 years? If so, it's news to me.

Ian
Jul 23 '05 #2
Ian wrote:
Fibre Optic wrote:
Hi,

i am looking for book/web siete about pointers, memory in C++ ? Does any
one know something up to date and good about these subjects ? Everything
I found on Amazon is slightly dated ...

Have pointers changed over the past 20 years? If so, it's news to me.


AFAIK, C++ style casts (dynamic_cast, etc) are less than 20 years old.

Also, there's more to memory management than just pointers. RAII and
related topics are also important.

Jul 23 '05 #3
One of the (relatively) recent innovations is Smart Pointers.
"Effective C++" does a good job of covering smart pointers.
"Professional C++" (which I co-authored) also covers them, as do many
recent texts. In fact, that might be a good way to distinguish the more
recent coverage from the dated material.

Jul 23 '05 #4
Ian
Bart wrote:
Ian wrote:
Fibre Optic wrote:
Hi,

i am looking for book/web siete about pointers, memory in C++ ? Does any
one know something up to date and good about these subjects ? Everything
I found on Amazon is slightly dated ...


Have pointers changed over the past 20 years? If so, it's news to me.

AFAIK, C++ style casts (dynamic_cast, etc) are less than 20 years old.

Also, there's more to memory management than just pointers. RAII and
related topics are also important.

True, should have thought of that before posting a smart arse response.
"(More) Effective C++" gives good coverage of this. Don't worry about
the books being eight years old, they are still relevant.

Ian
Jul 23 '05 #5
klep wrote:
One of the (relatively) recent innovations is Smart Pointers.
"Effective C++" does a good job of covering smart pointers.
"Professional C++" (which I co-authored) also covers them, as do many
recent texts. In fact, that might be a good way to distinguish the more
recent coverage from the dated material.

even better, I yesterday bought your book, so i am all set :-)

Thank you!

Fibre Optic
Jul 23 '05 #6

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

Similar topics

2
by: Christian Christmann | last post by:
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...
3
by: Alfonso Morra | last post by:
I'm in the process of implementing an abstract factory design pattern for an application. I would like to know, which is the recommended way of returning objects from the factory - by reference or...
53
by: Alf P. Steinbach | last post by:
So, I got the itch to write something more... I apologize for not doing more on the attempted "Correct C++ Tutorial" earlier, but there were reasons. This is an UNFINISHED and RAW document,...
8
by: Gerald | last post by:
I have a problem with an array of pointers. In a program I'm writing, I have to read a file, containing thousands of short lines. The content of another file will be compared against each line...
8
by: Peter B. Steiger | last post by:
The latest project in my ongoing quest to evolve my brain from Pascal to C is a simple word game that involves stringing together random lists of words. In the Pascal version the whole array was...
5
by: swarsa | last post by:
Hi All, I realize this is not a Palm OS development forum, however, even though my question is about a Palm C program I'm writing, I believe the topics are relevant here. This is because I...
7
by: enki | last post by:
What I want to do is create sprites and put them in a vector. I know that this specific example dosn't realy fit in this group but my sprite are ponters. vector<*sprite>spvec; sprite *...
14
by: Alf P. Steinbach | last post by:
Not yet perfect, but: http://home.no.net/dubjai/win32cpptut/special/pointers/ch_01.pdf http://home.no.net/dubjai/win32cpptut/special/pointers/ch_01_examples.zip To access the table of...
7
by: zombek | last post by:
Hi. I'd like to know which is faster and when to use: this (int type is just an example I mean it generally): int* ptr = new int (123); int* arr = new int ; and this: int num = 123; int...
54
by: Boris | last post by:
I had a 3 hours meeting today with some fellow programmers that are partly not convinced about using smart pointers in C++. Their main concern is a possible performance impact. I've been explaining...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: 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...

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.