Ten thousand words will give you a detailed explanation of C language character function, string function and memory function
๐ณ preface
C language processes characters and strings frequently, but C language itself has no string type. Strings are usually placed in constant strings or character arrays.
1, Find string length
๐ฆ strlen
๐ Function prototype and header: ๐ Return value of function:
๐ Function:
#include<stdio.h>
#include<stri ...
Added by BhA on Mon, 31 Jan 2022 22:33:25 +0200
Proc Programming Report
Proc programming experiment 1, Experimental content 1) Create three tables in the database: Student s, course C and s grade SC. 2) Write a program using pro*C to complete the operation of the database and output it according to the corresponding format. The format is as follows:
3) Use Pro*C to write the program, complete the operation of the ...
Added by cdinca on Mon, 31 Jan 2022 21:17:31 +0200
UTHash Use Tutorial
UTHash Use Tutorial
quick get start
To get started with this module, visit: Introduction, Data Interface, Sample Code
introduce
Hash: Hash, accessed by mapping data to a location in memory storage through functions on key values. This process is called Hash, a mapping function called a hash function, and an array of records is called a hash ...
Added by PHPFreaky on Mon, 31 Jan 2022 20:51:19 +0200
Summary notes of Tan Haoqiang version of C programming
structural morphology
Note: the name of structure type is a combination of a keyword struct and structure name (such as struct Student). The structure name is specified by the user, also known as "structure tag", to distinguish it from other structure types. In the above structure declaration, Student is the structure name (structure ...
Added by clandestine555 on Mon, 31 Jan 2022 18:28:38 +0200
C language ยท Sanzi chess (specific steps and codes)
catalogue
preface
1, File allocation
2, Menu interface
3, Chessboard initialization
4, Print chessboard
a look
5, Player drop
play chess
6, Computer chess
7, Judge the outcome
8, Core code
Total code
game.h
game.c
text.c
The result of the game
Player wins
Computer win
Draw
preface
Using functions, branch and loop statement ...
Added by Wade on Mon, 31 Jan 2022 15:56:33 +0200
C + + function overloading, rewriting and redefinition
1, Function overloading
1. Definitions
Definition: the same function name, different parameter sequences (including different number of parameters or different types of parameters).
2. Basic conditions
Basic conditions: ๏ฌ the function name must be the same; ๏ฌ function parameters must be different, which can be different parameter types ...
Added by samrat_php on Mon, 31 Jan 2022 15:30:46 +0200
Introduction to C language Chapter 1 (three in total)
Learning objectives:
**Master the basic knowledge of C language in one month**
#Learning content:
Basic syntax of C language, such as: 1. Setting of C language environment; 2. Mastering computer hexadecimal conversion and sorting algorithm. 3. Master data types, variables and constants, storage classes, operators and judgment. 4. Loop, fun ...
Added by jdubwelch on Mon, 31 Jan 2022 15:21:52 +0200
C language learning notes - P26 (< C language high level > + advanced level of pointer < 4 > + problem example + illustration)
How can efforts be failed? Water into the natural canal!
Disdain for luck, strength laughs to the end!
catalogue
9. Pointer and array written test question analysis
Summary:
Meaning of array name:
10. Pointer written test questions (selected written test questions of famous enterprises)
Written test question 1:
Written test questio ...
Added by atokatim on Mon, 31 Jan 2022 13:17:16 +0200
Sorting algorithm in data structure -- quick sorting -- basis of C language
Quick sort is an exchange sort method of binary tree structure proposed by Hoare in 1962. Its basic idea is: any element in the element sequence to be sorted is taken as the reference value, and the set to be sorted is divided into two subsequences according to the sort code. All elements in the left subsequence are less than the reference valu ...
Added by neil.johnson on Mon, 31 Jan 2022 12:07:17 +0200
Tour C language tutorial 5 - conditional statements
Tour C language tutorial 5 - conditional statements
This is the fifth tutorial of traveling around C language. You will understand conditional statements in this article.
condition
The condition is to judge whether the statement is true. In C language, 0 means not true, which is false in logic, and non-0 means true, which is true in logic. F ...
Added by kornlord283 on Mon, 31 Jan 2022 08:08:48 +0200