RT,代码如下,读不进来,profile_path对应的字符数组中有内容,并且相应的文件中有内容:
profile_path
char *args; args=new char[10010]; memset(args,0,sizeof(args)); std::ifstream fin(profile_path); fin>>(*args); fin.close();