- 博客(3)
- 收藏
- 关注
原创 MIT 6.S081 GDB调试
MIT 6.S081 GDB调试 新建一个终端 $gdb-multiarch // 进入gdb (gdb)file user/_uthread // 符号表定位 (gdb)target remote localhost:26000 (gdb)b main 再建一个终端 $make qemu-gdb $uthread 就可以调试了
2021-05-16 16:14:46
1062
原创 基础排序算法代码(选择、冒泡、插入、归并、快排、堆排序)
考试复习中、考完看能不能整个图出来 #include <stdio.h> #include <string.h> #include <stdlib.h> // 新数组 int *NewArray(int size) { return (int*)malloc(sizeof(int)*size); } //释放内存 void FreeArray(int a[]) { free(a); } // 求最小值 int mymin(int a, int b)
2020-08-28 13:04:33
224
原创 C++/OOP/8-2 Students II (10分)
C++/OOP/8-2 Students II (10分) Write a CLI program that reads scores and names of students, and prints out a summary sheet (in the same format with the last homework “Students I”). The user can input a...
2020-03-29 00:51:26
3260
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅