[Elementary C Language] Learn to use the library functions getchar and putchar

Directory One, getchar function 1. Function: 2. Recognize functions 3. use Two, putchar function 1. Function 2. Definition 3. use 3. The use of getchar and putchar Fourth, the application of getchar 1. getchar function 1. Function: The function of this function is to receive a character, and then convert the character to the corresponding […]

getchar, putchar, and input buffers

Directory 1. Literature of getchar and putchar 1.1 Literature on getchar: 1.2 Literature on putchar 1.3 Return value problem 2. Enter a character from the keyboard 2.1 Principle 2.2 How to understand: ? Understanding 1: ? Understanding 2: 2.3 About how the program ends 3. Enter password 3.1 Calling getchar once to read is equivalent […]