搞不明白
好晕啊,帮忙啊.
#include <iostream.h>
#include <string.h>
#include <windows.h>
class CLIENT
{
public:
CLIENT(int i,string x,string y);
static void ChangeServerName();
CLIENT(CLIENT &p);
private:
static string ServerName;
static int ClientNum;
};
e:\工具\msdev98\myprojects\client\client.h(7) : error C2629: unexpected 'class CLIENT ('
e:\工具\msdev98\myprojects\client\client.h(7) : error C2238: unexpected token(s) preceding ';'
e:\工具\msdev98\myprojects\client\client.h(11) : error C2146: syntax error : missing ';' before identifier 'ServerName'
e:\工具\msdev98\myprojects\client\client.h(11) : error C2501: 'ServerName' : missing storage-class or type specifiers