摘要: 1 #include 2 #include 3 4 void copy(char* src, char* dst); 5 int main() 6 { 7 using namespace std; 8 char src[50] = "E:/test/jdk-8u121-windows-x64.exe"; 9 char dst[50] = "E:\\te... 阅读全文
posted @ 2017-05-06 22:44 黑马网仔 阅读(10720) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 void eatline(){ 5 while(getchar()!='\n') 6 continue; 7 } 8 //文件随机读写 9 int main(int argc, char * argv[]) 阅读全文
posted @ 2017-05-06 22:00 黑马网仔 阅读(455) 评论(0) 推荐(0) 编辑