It’s public:
and not Public:
.
Because dd
is part of A
, you need an instance of A
to access dd
.
1
solved c++ access stuff out side the class [closed]
It’s public:
and not Public:
.
Because dd
is part of A
, you need an instance of A
to access dd
.
1
solved c++ access stuff out side the class [closed]