View Single Post
Old 05-18-2005, 09:22 PM   #2 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Well since you all had time to get used to this, here is a little homework assignment:\

Using the class in the first thread add pointer of type double as the internal representation.
1) Now define a member "double* DoStuffConst() const" in such a way, so this pointer can be modified after all. You may not use casts.
2) What is the lesson you learned?
__________________
Valmont is offline   Reply With Quote