- string to char*
const char* filename = patternfile.c_str();
or
char* filename= new char[patternfile.size()];
strcpy(filename,patternfile.c_str());
大山可以挪開,小山可以遷移, 但主的慈愛永不雜開你。
Though the mountains be shaken and the hills be removed, yet my unfailing love for you will not be shaken nor my covenant of peace be removed,
Posted by Cammie at 4:24 AM
Labels: c++, programming
0 comments:
Post a Comment