c Programming Language by K&R Input and Output
1. Standard Input and Output
1. Simple InputOutput Mechanism
Read one character at a time from standard input: int getchar(void)
Send the character c to standard output: int putchar(int)
2. Input redirection
If the getchar function is used in the program prog, then prog < infile causes the program prog to read characters from the input fi ...
Added by rfigley on Wed, 12 Jan 2022 19:19:59 +0200
12 detailed explanation of advanced pointer in C language
Advanced pointer
Character pointerArray pointerPointer arrayArray parameter passing and pointer parameter passingFunction pointerFunction pointer arrayPointer to array of function pointersCallback functionPointer and array analysis of interview questions
Statement: This article is a note when learning the advanced C language. Learning cont ...
Added by jedimaster_att on Wed, 12 Jan 2022 14:55:57 +0200
Tinyhttpd study notes
Tinyhttpd
Tinyhttpd is a micro Web server written by J. David Blackstone in 1999, which realizes the function of a simple Http server. Its source code comes from SourceForge . This article is a version of learning notes found by the author on Github. The Github warehouse address is https://github.com/EZLippi/Tinyhttpd . With the help ...
Added by jibster on Wed, 12 Jan 2022 13:58:48 +0200
Various basic operations of headless node and headless node in single linked list (complete code)
The foundation is weak and the understanding is still shallow. If there are mistakes, please correct them. Linear list single chain list (Ⅲ)
Various basic operations of headless node and headless node in single linked list (complete code)
Node with head
#include<stdio.h>
#include<malloc. h> / / this header file is required when o ...
Added by PartyMarty on Wed, 12 Jan 2022 11:20:32 +0200
★ C language final course design ★ - teacher salary management system (detailed report + source code + detailed notes)
Teacher salary management system report
catalogue
Teacher salary management system report
1, Description
2, Preface
3, Abstract
4, Detailed design
1. System requirements and function analysis
2. Design scheme
3. Data structure table
4. Data test table
5, Operation and commissioning
1. Main interface
2. Input the data of the first f ...
Added by pr0x on Wed, 12 Jan 2022 06:36:11 +0200
Branch and loop
c language is a structured programming language~
Sequential structure branch structure / selection structure cyclic structure
Everything in life is a combination of these three structures
1. What is a statement?
Expression statementFunction call statementControl statementCompound statementEmpty statement
c=a+b;//Expression statement
p ...
Added by xpsal on Tue, 11 Jan 2022 13:57:54 +0200
C language function
The importance of functions in programming is self-evident, so this article will briefly describe some contents related to functions.
What is a function
Function, translated as a method or function. The main function achieves a certain purpose by calling a user-defined function or a function in the function library, or obtains the desired dat ...
Added by vivianp79 on Tue, 11 Jan 2022 12:01:55 +0200
Brother Peng took me to brush good questions · programming practice · II
Hello, everyone. I'm safe and sound.
catalogue
1. Judgment letter
2. Character Christmas tree
3.ASCII code
4. Input and output of birth date
5.2 calculation to the nth power of
6. Input and exchange output according to format
7. Character to ASCII
8. Calculate the value of the expression
9. Calculate division with remainder
10. Cal ...
Added by vikaspa on Tue, 11 Jan 2022 03:44:18 +0200
[C language] Linux Socket select multiplexing
preface
After learning multi process and multi thread, in contrast, when there are multiple concurrent connection requests, the multi process or multi thread model needs to create a process or thread for each connection, and most of these processes or threads are blocked. If 1000 clients are connected to the server at this time, 1000 pr ...
Added by Eal on Mon, 10 Jan 2022 21:46:54 +0200
CMake quick build installation tool, CMake quick package script - PKG CMake
CMake quick build installation tool, CMake quick package script - PKG CMake
Have you ever written a lot of CMake build code before writing code? Have you ever written a bunch of CMake installation and export codes such as install(), export() when encapsulating your own library? Have you ever hoped that you can quickly build something that can ...
Added by wxflint on Mon, 10 Jan 2022 18:11:21 +0200