- 博客(154)
- 资源 (1)
- 收藏
- 关注
原创 Unsolved problem: How does the sizeof() function calculate length of an character array?
character array; sizeof()
2024-05-24 15:18:18
206
原创 Solved problem: The number of elements in the character array
character array
2024-05-24 15:05:41
234
原创 Resolved problem:Using fgets to read strings in a loop,there is always one line missing.
scanf();fgets();carriage return character
2024-05-23 12:54:38
342
原创 If the elements of the array are pointers,then it is necessary to apply for memory for each element
pointer array; malloc
2024-05-21 18:13:48
171
原创 method to make normal user have root privilege
sudo usermod -aG sudo xxx;sudo visudo
2024-05-19 17:46:24
927
原创 HWOD:输出单向链表中倒数第k个节点
不确定输入的数据有多少组时,可以用 if(scanf()>0) 作为判断条件如果要处理多组数据,不一定要为每组数据申请空间。可以存储一组,处理一组,存储数据的空间清零之后继续存储下一组数据。额外申请空间,存储每组数据的处理结果。
2024-04-27 00:33:52
290
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人