如下内容主要参考:https://www.runoob.com/cprogramming/c-standard-library-time-h.html time相关的函数在 time.h 中可以查看原型。如下命令可以找出time.h的路径: whereis time.h 在time.h中声明了很多和 Read More
posted @ 2024-06-25 12:50 靖意风 Views(250) Comments(1) Diggs(0)
0. 记录一下 测试数据 和 swap 函数 #include <stdio.h> void swap(int *p_a, int *p_b) { *p_a = *p_a ^ *p_b; *p_b = *p_a ^ *p_b; *p_a = *p_a ^ *p_b; } void print_arr Read More
posted @ 2024-06-25 11:11 靖意风 Views(12) Comments(2) Diggs(0)