![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
小练习
可以赢,但没有必要丶
求知若渴,虚心若愚丶
展开
-
Linux 彩色进度条
在 Centos 下实现一个彩色的进度条 1 #include<stdio.h> 2 #include<unistd.h> 3 #define NONE "\e[0m""]" 4 #define RED "\e[0;31m""]" 5 #define YELLOW "\e[0;34m""]...原创 2019-05-01 14:30:12 · 176 阅读 · 0 评论 -
如何判断自己的电脑是大端还是小端
在这里插入代码片int check(){ int t = 1; return *(char*)&t; }int main(){ int i = check(); if (1 == i) printf("是小端\n"); else if (1 != i) printf("是大端\n"); system("pause"); return 0;}...原创 2018-11-07 00:00:04 · 2091 阅读 · 0 评论