摘要: c语言中打印浮点数。 #include <stdio.h> int main(void) { float f = 100.0; double d = 1.0e2; long double ld = 1.0e2; printf("float: %f.\n", f); printf("float: %e 阅读全文
posted @ 2021-07-19 23:48 小鲨鱼2018 阅读(2228) 评论(0) 推荐(0) 编辑
摘要: 1、测试文件 [root@centos79 test]# cat a.txt 3 5 6 s f s d g d e w f g e k [root@centos79 test]# cat b.txt 3 5 6 s f s d g d e w f g e k 2、直接使用diff [root@ce 阅读全文
posted @ 2021-07-19 00:33 小鲨鱼2018 阅读(144) 评论(0) 推荐(0) 编辑