Classic C resources, very comprehensive and detailed, so important for beginners! Contains the following content: Part 1 Basics 001 The first C program 002 Running multiple source files 003 Finding the product of integers 004 Comparing the size of real numbers 005 Character output 006 Displaying the number of bytes occupied by variables 007 Auto-increment/auto-decrement operation 008 Sequence Sum 009 Multiplication table 010 Number guessing game 011 Simulate ATM (automated teller machine) interface 012 Use one-dimensional arrays to count student scores 013 Use two-dimensional arrays to implement matrix transposition 014 Solve the maximum/minimum element of a two-dimensional array 015 Use arrays to find the prefix n prime numbers 016 Compiling a perpetual calendar 017 Sorting array elements 018 Conversion of arbitrary base numbers 019 Determining palindrome numbers 020 Finding the sum of the first n elements of the array 021 Solving the best order for steel cutting 022 Comparing integer sizes through pointers 023 Pointers to arrays 024 Find the pointer of the specified element 025 Find the pointer of the same element 026 Convert Arabic numerals to Roman numerals 027 Character replacement 028 Read real numbers from the keyboard 029 Character line typesetting 030 Character arrangement 031 Determine whether a string is a palindrome 032 Input and output of address book 033 Poker Structural representation of cards 034 Using “structure” to count student scores 035 Counting game 036 Simulating social relationships 037 Counting the number of characters in a file 038 Displaying the contents of two files at the same time 039 Simple text editor 040 Word count program for files 041 Student performance management Program Part 2 Data Structure 042 Insertion Sort 043 Hill Sort 044 Bubble Sort 045 Quick Sort 046 Selection Sort 047 Heap Sort 048 Merge Sort 049 Radix Sort 050 Binary Search Tree Operation 051 Binomial Coefficient Recursion 052 Knapsack Problem 053 Sequence Table insertion and deletion 054 Linked list operation (1) 055 Linked list operation (2) 056 Single linked list in-place inversion 057 Sports meeting score statistics 058 Double linked list 059 Joseph ring 060 Recording personal information 061 Binary tree utilization 062 Convert floating point number to string 063 Chinese Nota problem 064 Huffman coding 065 Depth-first traversal of graphs 066 Breadth-first traversal of graphs 067 Solving the optimal traffic path 068 Eight Queens problem 069 Knight Parade 070 Setting passwords with stack 071 Demon King language translation 072 Train carriage rearrangement 073 Queue Example 074 K-order Fibonacci Sequence Part 3 Numerical Calculation and Interesting Mathematics Chapter 075 Drawing the superposition of cosine curves and straight lines 076 Calculating the mantissa of higher power numbers 077 Fishing or netting 078 How to save money to obtain maximum interest 079 Armstrong numbers080 Intimate numbers081 Automorphic numbers082 Numbers with the property abcd=(ab+cd)2083 Verification of Goldbach's conjecture084 Prime number magic square085 Hundred coins and hundred chickens problem086 Einstein's mathematical problems087 Three-color ball problem 088 Mathematical problems in Marx's manuscripts089 Matching the bride and groom090 Joseph's problem091 Stamp combination092 Dividing candies093 Poisson's fun problem of dividing wine094 Finding the approximate value of π095 Interesting properties of odd squares096 Kakutani conjecture097 Four square theorem098 Kabu Lek's constant 099 Nicoches' theorem 100 Automatic dealing of poker cards 101 Victorious General 102 Mountain-moving game 103 Rabbit gives birth (Fibonacci sequence) 104 Number movement 105 Polynomial multiplication 106 Generating random numbers 107 Stack four arithmetic operations 108 Recursive integers Four arithmetic operations 109 Graphing the complex plane 110 Drawing colored parabolas 111 Drawing normal distribution curves 112 Solving nonlinear equations 113 Real matrix multiplication 114 Solving linear equations 115 Inversion of n-order square matrices 116 Multiplication of complex matrices 117 Finding definite integrals 118 Finding satisfying specificity Conditional sequence 119 Addition of super long positive integers Part 4 Graphics 120 Draw a straight line 121 Draw a circle 122 Draw an arc 123 Draw an ellipse 124 Set the background color and foreground color 125 Set the line type 126 Set the fill type and fill color 127 Graphic text Output 128 Diamond pattern 129 Streamer pattern 130 Ring pattern 131 Kidney pattern 132 Heart pattern 133 Fishnet pattern 134 Dune pattern 135 Set the text type in graphics mode 136 Draw regular polygon 137 Regular hexagon spiral pattern 138 Square spiral patch pattern 139 Drawing circles with graphics 140 Drawing triangle patterns with recursion 141 Drawing ellipses with graphics 142 Parabolic splines 143 Mandelbrot fractal patterns 144 Drawing Brownian motion curves 145 Art screen clearing 146 Color filling of rectangular areas 147 VGA256 color mode programming 148 Drawing blue sky patterns 149 Screen Detection program 150 Moving car animation 151 Dynamic display bitmap 152 Using graphics page to realize animation 153 Graphic clock 154 Music animation Part 5 System 155 Reading country information in DOS system 156 Modifying environment variables 157 Displaying the system file table 158 Displaying the directory Content 159 Read disk files 160 Delete directory tree 161 Define text mode 162 Design three-dimensional window 163 Color pop-up menu 164 Read CMOS information 165 Get BIOS device list 166 Lock hard disk 167 Back up/restore hard disk partition table 168 Design password program 169 Program self Answers to common test questions in Part 6 of Protection 170 Fruit platter 171 Children eating pears 172 Deleting specific characters in a string 173 Solving symbolic equations 174 Calculating standard deviation 175 Finding prime numbers that meet specific requirements 176 Statistics of numbers that meet specific conditions 177 String inversion 178 Partial sorting 179 Product sales record processing 180 Character encoding for specific requirements 181 Solving trigonometric equations 182 New perfect square numbers 183 Triple palindrome numbers 184 Odd variance 185 Counting votes 186 Simultaneous division 187 Character left and right sorting 188 Solving symbolic arithmetic 189 Numeric shift 190 Statistics highest score 191 Compare string length 192 Combine integers 193 Matrix inversion 194 Delete specified characters 195 Bracket matching 196 String inversion 197 SIX/NINE problems 198 Word count statistics 199 Variance operation 200 Series operation 201 Output prime numbers 202 Prime numbers Question 203 Sequence sorting 204 Integer digit sorting 205 String letter shift 206 Fibonacc sequence part 7 game chapter 207 Businessman crossing the river game 208 Number eating game 209 Hostage rescue game 210 Typing training game 211 Two-person walking game 212 Maze exploration game 213 Mini Pool game 214 Simulated minesweeper game 215 Sokoban game 216 Backgammon game Part 8 Comprehensive examples 217 Comprehensive CAD system 218 Powerful text editor 219 Library management system 220 Purchase, sale and inventory management system
Expand