c++ "design" books ?

Started by
11 comments, last by Crypter 17 years, 1 month ago
Quote:Original post by Emmanuel Deloget
Quote:Original post by Deyja
Quote:which features of the language are useful, which not and why.
Every feature of the language is useful.

Except exception specifications.


And the export keyword.

And std::vector<bool> :P


And the auto, register, and volatile keywords. [smile]
Advertisement
Quote:Original post by Simian Man
... and volatile keywords. [smile]


believe it or not, I've had to use the volatile keyword ... at 2 DIFFERENT companies. Of course we were dealing with low-level devices and such, but it is important in those cases. (it is used when you need to tell the compiler that it cannot reuse (cache) the old value of a variable between uses, just because it can see that no visible code hasn't changed the variable (in this case, the variable represented a shared memory address that was modified out-of-process).
I used volitale and register keywords when programming low level C.
(Never in any game or applications, though)

I keep forgetting about auto though (Shows how much times I use it[smile])

This topic is closed to new replies.

Advertisement