table of Contents
First, the learning content summary
The second chapter
basic knowledge
Important and difficult
Second, the problem of teaching and learning in the process of resolving
Question 1: When the code on page 49 of the textbook for verification, for debugging purposes, display
没有符号表被读取。请使用"file"命令
.Solution 1: Query Baidu. Baidu There are two versions.
1 saying: do not use -g parameter is not used when compiling
statement 2: test is a shell built-in commands, can not be named test- Later, I test.c rename ac, above error is still there, and then carefully look at their compilation, he found himself directly after the input compiled with -g
gdb
and not ingdb
adding the name of the executable file of the back, just the current file under folder there are several executable files, which is the operating system does not know which file to execute it appeared above mistakes. - Enter the
gdb a
problem is solved. Results are as follows:
Question 2: The 31 code on a textbook for verification
Results are as follows:
Question 3: According to the textbook 29 content, information is stored on their own computers to verify the results displayed as a small end fashion store.
Results are as follows:
Third, feelings and experiences
- This week learning content is more complicated, it is not difficult to understand, but because there are a lot of mathematical expressions represented by it so it is not well understood.
- And not good for the summary, write a formula need to spend a good long time to play out, so I summed up into two parts electronic and hand-written version of summarizing this week.
- This week I learn to see by way of video-based teaching materials are supplemented, I feel understand them than their textbooks to see more easy to understand.
Fourth, learning progress bar
The number of lines of code (add / accumulate) | Blog amount (add / accumulate) | Learning time (add / accumulate) | Important growth | |
---|---|---|---|---|
aims | 5000 rows | 30 | 400 hours | |
the second week | 324/405 | 1/34 | 15/22 |
Plan study time: 10 hours
The actual study time: 15 hours
V. References
- How to debug C programs in linux inside
- How GDB debugger no symbol table (without the -g option of compiling) of
- GDB debugger usage
- Representation of information processing (a)
- Information indicating the processing (b)
- Information indicating the processing (c)
- Processing and presentation of information (d)
- Processing and presentation of information (e)
- "In-depth understanding of computer systems."