The C language learning plan uses 15 days to learn the basics of C language, and the rest look at code exercises and algorithms

Day 01 (Linux basic operation)
1. Introduction to Linux system 2. Introduction to
file system
3. Common commands (until the which command)

Day 02 (Linux development environment and network configuration)
1. Common commands (below)
2. Use of vi
3. Remote operation
4. Webserver environment construction

Day 03 (C language overview)
1. C language overview
2. The first program hello world
3. The use of system function
4. C language compilation process (preprocessing, compilation, assembly, linking)
5. CPU internal structure and registers Introduction
6. Introduction to assembly language
7. Integrated development environment (Qt, VS)

Day 04 (data type)
1, constants and variables
2, binary, octal, hexadecimal
3, original code, complement, inverse code
4, sizeof keyword
5, int type
6, char type
7, float, double Type
8, type qualifier: extern, const, volatile, register
9, string formatted output and input: printf, putchar, scanf, getchar

Day 05 (operator and program flow structure)
1. Arithmetic operator
2, assignment operator
3, comparison operator
4, logical operator
5, operator priority
6, type conversion (implicit conversion, coercion)
7 , Select structure: if, ternary operator, switch
8. Loop structure: while, do while, for
9. Jump statement: break, continue, goto

Day 06 (Array and String)
1. One-dimensional array
2. Two-dimensional array
3. Multi-dimensional array
4. Character array and string
5. Random number generation

Day 07 (Function)
1. String processing function
2. Function definition
3. Function call
4. Function declaration
5. Difference between return and exit
6. Separate file (multi-file) programming

Day 08 (Pointer 1)
1. Basic knowledge of pointers
a) The definition and use of pointer variables
b) Indirect modification of the value of variables through pointers
c) Pointer size
d) Wild pointers and null pointers
e) Void * pointers
f) const modified Pointer variables
g) Introduction to multi-level pointers
2. Pointers and arrays
a) Array name
b) Pointer operation array elements
c) Pointer addition operation
d) Pointer subtraction operation
f) Pointer array

Day 09 (Pointer 2)
1. Pointer and function
a) Function parameter changes the value of actual parameter (normal first-level pointer)
b) Array name as function parameter
c) Pointer as function return value
2. Pointer and string
a) Character pointer
b) Character pointer as function parameter
c) While and do-while model in strstr
d) Two-end blocking model (seeking non-empty string)
e) String inversion model
f) Pointer array as main function Formal parameters

Day 10 (Memory layout)
1. Scope
a) local variables
b) static (static) local variables
c) global variables
d) static (static) global variables
e) extern global variable declaration
f) global functions and static functions
2. Memory operation functions: memset(), memcpy(), memmove(), memcmp()
3. Introduction to memory layout
4. Heap memory allocation malloc and release free
5. Memory partition code analysis

Day 11 (composite type)
1. Definition and initialization of structure variables
2. Use of structure members
3. Structure array
4. Structure set structure
5. Structure assignment
6. Structure and pointer
a) Point to common The pointer of the structure variable
b) the structure variable of the heap area
c) the first-level pointer
of the structure 7, the structure is used as the function parameter
a) the structure ordinary variable is used as the function parameter
b) the structure pointer variable is used as the function parameter
c) the structure array Name as function parameter
d) const modified structure pointer formal parameter variable
8, union (union)
9, enum
10, typedef

Day 12 (on file)
1. File overview
2. File opening and closing
3. Read and write files fgetc, fputc according to characters
a) Write file
b) End of file feof()
c) Read file
d) Intensive training: realize vi , Cat command
4. Read and write files fgets, fputs according to the line
a) Write files
b) Read files
c) Intensive training: Four arithmetic operations in file version

Day 13 (under the file)
1. Follow the formatted files fprintf, fscanf
a) Write files
b) Read files
c) Intensive training: file version sorting
2. Read and write files fread, fwrite according to blocks
a) Write files
b) Read files
c) Intensive training: copying large files
3. Random reading and writing of
files 4. Differences between Windows and Linux text files
5. Obtaining file status
6. Deleting files and renaming file names
7. File buffers

Day 14 (Qt introduction and IDE)
1. Qt basic introduction (construction, destructor)
2. Qt string processing (character encoding, QString)
3. IDE case

Day 15 (Project: Kuaiyitong)
1. Pointer review
2. Second-level pointer as function parameter
3. Case code analysis
4. Case code sub-file
5. Code transplantation to Qt

Guess you like

Origin blog.csdn.net/smileui/article/details/89892978