2014-07-10から1日間の記事一覧
これな std::string str = "string"; char *cstr = new char[str.length() + 1]; strcpy(cstr, str.c_str()); // do stuff delete [] cstr; ココに書いてあった http://stackoverflow.com/questions/7352099/stdstring-to-char
これな std::string str = "string"; char *cstr = new char[str.length() + 1]; strcpy(cstr, str.c_str()); // do stuff delete [] cstr; ココに書いてあった http://stackoverflow.com/questions/7352099/stdstring-to-char