在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
1 void subString(char filePath) 2 { 3 int len = strlen(filePath); 4 int num, n; 5 char buf[128] = {0}; 6 char cutOff[128] = {0}; 7 8 strcpy(buf, filePath); 9 for(num = len - 1; num > 0; num--){ 10 if(buf[num] == "\\") 11 { 12 n = num; 13 for(num = n+1; num < len; num++){ 14 cutOff[num-n-1] = buf[num]; 15 } 16 break; 17 } 18 } 19 }
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论