另外,msdn中沒有createfile這壹函數
#include <iostream>
#include <string>
using namespace std;
int main()
{
cout <<"輸入要創建文件夾的位置和名字:"<<endl;
cout <<"例如: c:\\contacts"<<endl;
string path;
cin >>path;
path="md "+path;
system(path.c_str());
}