UserInfo uinfo = {0}; uinfo.userID = 5555; strcpy(uinfo.userName, "UserHost5555"); strcpy(uinfo.userPwd, "123456"); i->addUser_(uinfo); ActorInfo ainfo = {0}; for (int x = 28001; x <= 30000; ++x) { ainfo.id = x; sprintf_s(ainfo.name, "Act%d", x); ainfo.prof = Role_DS; ainfo.sex = DB::sex::MAN; i->addActor_(5555, ainfo); }