
gcc school
侯 嘉成
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 · 170 阅读 · 0 评论 -
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 · 1131 阅读 · 0 评论 -
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 · 143 阅读 · 0 评论 -
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 · 161 阅读 · 0 评论