Hi,

I'm currently learning C++ and came across the subject of constructors/destructors and I'm having a little trouble comprehending this...

The book says it's for "initializing the member data of a class".. but I just am wondering why you would use it.

Any help and simple examples would be greatly appreciated..

Dan