473,388 Members | 924 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,388 software developers and data experts.

do you know good books/sites about creating custom allocators, streams and iterators?

for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

anything like the Effective series from Meyers would be fine ;)

thanks!

Diego
HP

Aug 27 '07 #1
11 2372
Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)
Have you perused "C++ Standard Library" by Josuttis? As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
anything like the Effective series from Meyers would be fine ;)
He's got some iterator tips in "Effective STL", check it out.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 27 '07 #2
On 2007-08-27 19:21, Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

anything like the Effective series from Meyers would be fine ;)
Don't know about custom allocators, since it's not something most C++
programmers have to write, but section 19.4 in TC++PL talks about it.

For streams and iterators any good book should do, iterators are central
to the standard library so a book that does not explain them would be
useless. Once again, TC++PL have chapters about those things.

--
Erik Wikström
Aug 27 '07 #3
On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++
does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

Have you perused "C++ Standard Library" by Josuttis?
yeah! I have this book. It is excellent as a STL containers and
algorithms reference guide

but it does not focus on custom streams, iterators and allocators :(
As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
nice! do you know the book names?
anything like the Effective series from Meyers would be fine ;)

He's got some iterator tips in "Effective STL", check it out.
I want more :(
(but the Effective series is a must have! I have only the Effective
STL in book, but I've read them all on my college library)

thanks, anyway
Diego

Aug 27 '07 #4
On Aug 27, 2:39 pm, Erik Wikström <Erik-wikst...@telia.comwrote:
On 2007-08-27 19:21, Diego Martins wrote:
for me, these items are in the 'tricky zone' of C++
does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)
anything like the Effective series from Meyers would be fine ;)

Don't know about custom allocators, since it's not something most C++
programmers have to write, but section 19.4 in TC++PL talks about it.

For streams and iterators any good book should do, iterators are central
to the standard library so a book that does not explain them would be
useless. Once again, TC++PL have chapters about those things.
thanks! I will give a look on this book

user experience is appreciated in this thread too (the best knowlege
on my opinion)

Aug 27 '07 #5
Diego Martins wrote:
On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
>As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.

nice! do you know the book names?
[..]
You're kidding, right? Can't you google?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 27 '07 #6
On Aug 27, 2:57 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Diego Martins wrote:
On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
nice! do you know the book names?
[..]

You're kidding, right? Can't you google?
not kidding. serious! you might give me valuable information about the
edition you read, for example

there is more than a book written by Angelika Langer and Klaus Kreft
with IOstreams...

and I couldn't find a book of Dietman Kuehl. I will try to read some
thing from his page, instead
http://www.inf.uni-konstanz.de/~kuehl/

your advice is good and I guess you are a good man.
but the excess of coffee must be making you to see newbies everywhere
in comp.lang.c++ :) try to relax

Aug 27 '07 #7
Diego Martins wrote:
On Aug 27, 2:57 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
>Diego Martins wrote:
>>On Aug 27, 2:29 pm, "Victor Bazarov" <v.Abaza...@comAcast.net>
wrote:
As for the
streams, there was a book by Angelika Langer and Klaus Kreft, I
heard good things about it. Dietmar Kuehl has also written on
the same or similar subject, IIRC.
>>nice! do you know the book names?
[..]

You're kidding, right? Can't you google?

not kidding. serious! you might give me valuable information about the
edition you read, for example
I didn't read it. I had no need for it. However, other folks have
recommended it, and at the time of my reply the book review section of
ACCU.org was unavailable. Did you simply miss my "I heard good things
about it"?

I'd given you as much information as I could.
there is more than a book written by Angelika Langer and Klaus Kreft
with IOstreams...
Hey, you already know more than I do. Try comparing the books using
review section on Amazon, see whether you can find the preface for them
and read them, perhaps you can get something from there...
and I couldn't find a book of Dietman Kuehl. I will try to read some
thing from his page, instead
http://www.inf.uni-konstanz.de/~kuehl/
Then apparently I didn't RC. Now that I'm thinking about it, he did
write a streams library, or so it seems... Not a book... If you've
found his web page, you've found the right place to find out more.
your advice is good and I guess you are a good man.
but the excess of coffee must be making you to see newbies everywhere
in comp.lang.c++ :) try to relax
Ah, that's what it was, my coffee drinking. I couldn't have figured
it out without you. Thanks, I will try to relax. As soon as I retire,
I guess. In the mean time, "if it walks like a newbie and quacks like
a newbie..."

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Aug 27 '07 #8
On Aug 27, 4:46 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Ah, that's what it was, my coffee drinking. I couldn't have figured
it out without you. Thanks, I will try to relax. As soon as I retire,
I guess. In the mean time, "if it walks like a newbie and quacks like
a newbie..."
duck typing is off-topic in C++ :P
(and I hate smalltalk and Ruby)

Aug 28 '07 #9
anyone? :(

I am bugging since it is extremely difficult finding good material
about these tricky topics!
Specially the allocator thing!

Aug 28 '07 #10
FYI

http://angelikalanger.com/Articles/Topics.html
a good collection of articles focused on specific STL subjects

I found that following Victor's advice
this is very similar to what I am looking for.

thanks A LOT :)))) and let's continue searching

Diego

Aug 28 '07 #11

"Diego Martins" <jo********@gmail.comwrote in message
news:11*********************@g4g2000hsf.googlegrou ps.com...
for me, these items are in the 'tricky zone' of C++

does anyone know good material with that? (dealing with subtle
details, pitfalls, good practices...)

anything like the Effective series from Meyers would be fine ;)
See www.boost.org for both libraries, docs and refs. All of your items in
the subjet line are covered.

Jeff Flinn
Aug 29 '07 #12

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

Similar topics

18
by: Mark A. Gibbs | last post by:
I'm having yet another headache with making a standard allocator. What behaviour should be expected from the assigment operator? When would it be called? Why is it there at all, when you can't...
15
by: Alex Vinokur | last post by:
I am looking for any custom allocator sample code for std::vector. Thanks. -- Alex Vinokur http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn
15
by: natespamacct | last post by:
Hi All, I'm not sure if I'm dealing with a C++ question or a compiler question, so please forgive me if I'm asking in the wrong spot. If so, maybe someone can direct me to more appropriate spot....
2
by: Peter Rilling | last post by:
One nice thing about collections and arrays is that they implement the IEnumerator and IEnumerable interfaces which allow for more then one iterator to walk the list of items without affecting the...
6
by: Christoph | last post by:
I was browsing both the Amazon and Barnes & Noble websites looking for some good books but there appears to be *so* many and it's hard to tell which are going to be good or not. I'm looking for...
8
by: Mateusz Łoskot | last post by:
Hi, I know iterator categories as presented by many authors: Stroustrup, Josuttis and Koenig&Moo: Input <---| |<--- Forward <--- Bidirectional <--- Random Output <---|
206
by: WaterWalk | last post by:
I've just read an article "Building Robust System" by Gerald Jay Sussman. The article is here: http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf In it there is a...
7
by: Max Odendahl | last post by:
Hi, my own declared class has a stl::list as a member variable. I now need access to those from the outside. Is a custom iterator for my class the best solution for this and how to do this? I...
6
by: Juha Nieminen | last post by:
I tested the speed of a simple program like this: //------------------------------------------------------------ #include <list> #include <boost/pool/pool_alloc.hpp> int main() { typedef...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.