Hi,
Let's take a class A
so..once I have this class with a constructor that accepts a char *, can I do this..?Code:class A { char a[10]; public: A(char *); };
if not, it will mean that a array member can never be initialized using the member initialization list. or is it not?Code:A::A(char * s) :a(s){}
will be elated to get the right "pointer". ( :-D )
Indrajit




Reply With Quote