Thursday, November 15, 2007

Some notes

  • string to char*
string filename("myfile.wav");
const char* filename = patternfile.c_str();
or
char* filename= new char[patternfile.size()];
strcpy(filename,patternfile.c_str());

0 comments: