J
janek
I have a question:
what differences are between:
namespace Mary {
int r = 5 ;
char m[r] ;
void print1() ;
}
and
class Mary {
private :
int r = 5 ;
char m[r] ;
public :
Mary();
~Mary() ;
void print1() ;
}
excluding "private", "public", contructor and destructor in "class Mary" ?
Generally: what differences are between using declaration of "namespace"
and "class" ?
what differences are between:
namespace Mary {
int r = 5 ;
char m[r] ;
void print1() ;
}
and
class Mary {
private :
int r = 5 ;
char m[r] ;
public :
Mary();
~Mary() ;
void print1() ;
}
excluding "private", "public", contructor and destructor in "class Mary" ?
Generally: what differences are between using declaration of "namespace"
and "class" ?