关于[Error] expected unqualified-id before '.' token的问题,如何解决?

出现了一个错误:[Error] expected unqualified-id before '.' token
发生错误的代码如下:

struct user
{
    time_t now = time(0);
    tm *ltm = localtime(&now);
    MD5 m;
    void F5();
    int rm(string name);
    int find(string name);
    void nano(string name,string psd);
    void co();
    void inits();
    int xgmm(string name,string psd);
    int zx(string name);
    string psd;
    string name;
    bool flag;
    /*unsigned long long */int xl;
    string *log;
    int log_i;
};
void inits()
{
    user.psd=new string[10000003];
    user.name=new string[10000003];
    user.flag=new bool[10000003];
    user.xl=new /*unsigned long long */int;
    user.log=new string[1000003];
    user.log_i=1;
}

你这些函数定义写在哪里了。