Re: [Dev-C++] classes and references
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2003-05-04 07:58:06
|
Ioannis Vranos wrote: > TC++PL3 is meant to be read by C++ programmers who know the basics and > sequencially, that is from cover to cover. Not in random order. For example > how can you understand the implementations of the standard containers if you > haven't finished the chapter about templates. Each page must be read > thoroughly and the whole process will take years. > > Apparently you tried to read it in a fast/random fashion. I don't want to argue about this, but I have *exact* examples. The book places stuff in the place, where they absolutely don't belong. For example: templates are first *used* in the 3rd chapter (and from then continuously) and described in the 12th... Trust me, learning C++ in 5 days is no easy task. I don't have years... and I don't need years. I think I am already doing well - I understand *all* of the const things now, the static stuff, classes, inheritance, overloading (operator and function), templates, exceptions, references etc. I'm a fast learner :) Oh, and about random - reading from page 1 to 400 fast or not fast is not random. ;) So, I think I have a good knowledge of C++ now, so questions are welcome - but still expect some from me. > Because as BS says in the book you can't pass a reference to a temporary > object, but you can pass a const reference. That's what I said, no? ;) -- Greets, Balázs P.S.: BTW, I have TC++PLSE (Special Edition) - and it is not meant for programmers of C++ - it is meant for starter C++ programmers. |