SHARE
TWEET

Untitled

a guest Jul 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct ServerInfo_ {
  2.     int ID;
  3.     enum ServerStatus status;
  4.     char name[MAX_SERVER_NAME];
  5.     unsigned short tcpPort;
  6. };
  7. int max_len=5;
  8.  
  9.  
  10.  
  11.  
  12.  
  13. struct ServerInfo *srvList = (struct ServerInfo *)malloc (sizeof(struct ServerInfo));
  14.     cout<<listServers((struct ServerInfo *)srvList,  max_len);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top