上一页 1 ··· 25 26 27 28 29
摘要: #include <iostream> #include <string> #include <Windows.h> #include <fstream> #include <sstream> #include <signal.h> #include <io.h> #include <vector> 阅读全文
posted @ 2021-06-24 08:13 江南王小帅 阅读(395) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> #include <Windows.h> #include <fstream> #include <sstream> #include <signal.h> #include <io.h> #include <vector> 阅读全文
posted @ 2021-06-24 08:11 江南王小帅 阅读(261) 评论(0) 推荐(0)
摘要: #include<iostream>#include<fstream>#include<string>using namespace std; /* 向txt文本中写入一个字符串:若文件不存在,则新建一个文件;否则,直接输入内容*/ int main(){ ofstream os; //创建一个文件 阅读全文
posted @ 2021-06-24 08:09 江南王小帅 阅读(791) 评论(0) 推荐(0)
摘要: #include <iostream> #include <Windows.h> #include <fstream> #include <sstream> using namespace std; int main(){ FILE * fp; int flag = 0; char * tmp; s 阅读全文
posted @ 2021-06-23 17:26 江南王小帅 阅读(57) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(int argc, char * argv[]) { system("ipconfig > temp.txt"); return 0; } 阅读全文
posted @ 2021-06-23 17:24 江南王小帅 阅读(419) 评论(0) 推荐(0)
摘要: #include <iostream> #include <Windows.h> using namespace std; int main() { //方法一: //system("F:\\Allen\\test\\02call-bat\\a.bat"); //方法二:WinExec是 Windo 阅读全文
posted @ 2021-06-23 17:21 江南王小帅 阅读(63) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { cout<<"hello world!"<<endl; system("pause"); return 0; } 阅读全文
posted @ 2021-06-23 17:20 江南王小帅 阅读(31) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29