Date: Tue, 05 Nov 1996 20:54:53 GMT Server: NCSA/1.5 Content-type: text/html Last-modified: Mon, 11 Sep 1995 19:41:30 GMT Content-length: 1767
Here is an example:
"How do I initialize the const data members of my objects?"
class PinkFloyd { public: PinkFloyd(int the_world) : they_rule(the_world) {} private: const int they_rule; };For more info, lookup "constant data members" in your favorite C++ book!
~cs564-1/assigns/assign1/sample/
(Note, the current TAs did not write the solution.)