OK!
but, is it a good practice to access the variable of the parent ? I know it's possible to do it, but we can use global variable and this is a very bad habit!
Thank you.
Hi everyone,
I'm currently working a Network class. For the moment, I have a class containing the following functions :
class cNetwork
{
cnetwork();
cnetwork(int port);
~cnetwork();
void send_to(char *buffer,int length);
int receive_from(char *buf,int buf_size);
void bind_to(void);
void...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.