访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容
没东西可以抓
#include <iostream.h> #include <fstream.h> #include <string.h> #include <process.h> void main() { char a[100]; ifstream test; //test open test.open("c:\\test.txt", ios::in|ios::nocreate); if (!test) cout<<"error"; else cout<<"success"; //test delete strcpy(a,"del "); strcat(a, "C:\\test1.txt"); system(a); }