C
chetan
Hi ,
myself Chetan
Is There anybody could help me ?
I am working on the project in c++ ,, I am in great confusion that
should I export c++ member functions OR methods to create objects of
that class OR
previously cretaed objects .. So those can be used by users by using
the header file ... of my " class "
But by exporting member functions of C++ class user would not
understand
which are the private // public functions and would get compilation
error ..!!!
OR may simply change the header file from private to public and would
use
private functions ....!!!
So I need information that how compiler checks that a perticular
symbol is private and won't allow us to call it by object from
anywhere ...
Because simply looking at the symbol table from ELF file it's not
getting clear diffrence between the public and private
functionss...!!!
So help ..!!!
myself Chetan
Is There anybody could help me ?
I am working on the project in c++ ,, I am in great confusion that
should I export c++ member functions OR methods to create objects of
that class OR
previously cretaed objects .. So those can be used by users by using
the header file ... of my " class "
But by exporting member functions of C++ class user would not
understand
which are the private // public functions and would get compilation
error ..!!!
OR may simply change the header file from private to public and would
use
private functions ....!!!
So I need information that how compiler checks that a perticular
symbol is private and won't allow us to call it by object from
anywhere ...
Because simply looking at the symbol table from ELF file it's not
getting clear diffrence between the public and private
functionss...!!!
So help ..!!!