我想问下system()这个函数在VC++的MFC情况下,
CString s_path;
  s_path=_T("format ") + str +_T(": /y /fs:ntfs /q");
  system(s_path);
str是我传进来的参数CString 类型的,是个磁盘的盘符。但是提示错误老是C2664: 'system' : cannot convert parameter 1 from 'class CString' to 'const char *'求各位大侠解救啊!