- 博客(4)
- 收藏
- 关注
原创 Notes on Pointers and LinkedList in C
Notes on Pointers and LinkedList in CThree important things to know about pointers in C1. What is pointer in CA pointer is a variable that stores the address of another variable.2. Two ways to acc...
2019-07-19 15:46:14
157
原创 Class Notes on 16 Jul 2019
Class Notes on 16 Jul 2019typedeftypedef struct structName foo;This will make the given struct a type name so that it can be used the same way as a build in type.struct structName s1 → foo s1...
2019-07-19 15:32:57
133
原创 Report of Class Exercices on 15 Jul 2019
Report of Class Exercices on 15 Jul 2019gdb_test.cError on line 7.The array has size 5, and for loop loops 6 times and the assignment in the loop will be out of bound. This error is apparent when re...
2019-07-16 09:51:58
878
原创 gdb Debugging Notes
gdb Debugging NotesWhen compiling, add -g after gcc for gdb to show debugging info.i.e. $ gcc -g main.c -o mainTo debug, use gdb + ./[ProgramName] to enter gdb program.i.e. $ gdb ./mainIn g...
2019-07-15 15:59:51
160
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人