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 5 1035
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
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.
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.
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
|
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 *...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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$) {
}
...
|
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...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
| |