行业知识
Linux环境基础开发工具使用
2026-10-25 16:29:34
来源:互联网转载
一.Linux第一个小程序-进度条
1.版本一:
1: process.c ? ? 2: process,h ? ?? 3: main.c ? ? ?? buffers 1 #include"process.h" " 2 #include 3 #include 4 #define SIZE 100 5 #define MAX_RATE 100 6 #define STYLE '#' 7 #define STIME 1000*400 8 const char *str="|-\"; 9 void process() 10 { 11 printf("hello process\n"); 12 //version 1 13 int rate =0; 14 char bar[SIZE]={0}; 15 memset(bar,'',sizeof(bar)); 16 int num =strlen(str); 17 while(rate
上一篇:怎么设置华为服务器?
下一篇:微信怎么不开定位服务器?