Object oriented and process oriented ideas are different, and the code written in C language and Java language is different
preface
You are a programmer of a company. The company has two new batches of goods to sell. The boss wants you to write a sales procedure for these two batches of goods
demand
boss:
First of all, the names of the two shipments are shukong And border town, the price fluctuates with the market price. For e ...
Posted by Zoofu on Wed, 29 Sep 2021 14:29:52 -0700
Gobang game programming (C language version)
catalogue
preface:
● realize the application and understanding of array and other knowledge points through the programming of Sanzi chess.
● due to the limited level of the author, it is inevitable that there are fallacies in the article. Please correct the slang, and sincerely hope to give advice!
Text:
Description: this cod ...
Posted by mecano on Mon, 27 Sep 2021 21:01:12 -0700
C language pointer
Pay attention to one button three times (don't be sure next time)
Hello, bald men, let's learn the pointer together today!
Key points of this chapter
What is the pointerPointer and pointer typeField pointerPointer operationPointers and arraysSecondary pointerPointer array
What is the pointer?
In computer science, a Pointer is a ...
Posted by jdubwelch on Mon, 27 Sep 2021 17:30:05 -0700
⭐ C language small project ⭐ Address book (ten thousand word tutorial / static & dynamic & file operation for you / with source code / really don't you collect it?!)
catalogue
preface
Problem description
tool
Basic framework
Static address book
Specific implementation ideas and processes
Preparation stage
Create contact information and address book structure
subject
Menu interface
Realization of various functions of address book
Initialize address book (empty address book contacts)
Add contacts ...
Posted by eits on Mon, 27 Sep 2021 16:47:28 -0700
this pointer supplement, const supplement, static supplement, static const int
catalogue
Object calling function and this pointer (supplemented by this pointer)
const supplement
const decorated data member (initializing member list)
Modify member functions (data members will not be modified in member functions)
Decorated object
static supplement
Modified out of class
Modify global variables
Modify local variables ...
Posted by tomwerner on Mon, 27 Sep 2021 04:07:18 -0700
File operation (file pointer + detailed explanation of sequential read-write function)
1, Documents
What is a file:
Files on disk are files
1. Classified by file function:
Procedure documents:
Source program file test.c object file test.obj executable program test.exe
Data file:
The content of the file is not necessarily the program, but the data read and written when the program runs, such as the file from which the ...
Posted by dujed on Mon, 27 Sep 2021 02:22:28 -0700
The firmware library is used to control the GPIO output high and low levels of STM32F103 to realize the on and off of LED lights
When writing the structure of LED lamp, you need to set the clock of GPIO port, input and output mode and high and low levels of GPIO pin. Next, we will introduce how to configure each structure
Introduction to GPIO General purpose input / output is referred to as GPIO for short. STM32F103VET6 has 80 gpios in total. These IO pins are divided i ...
Posted by ldoozer on Sun, 26 Sep 2021 22:38:53 -0700
[turn complexity into simplicity and squeeze knowledge into juice] function
1. What is the function?
Wikipedia definition of function: subroutine ① Subroutine is a part of code in a large program, which is composed of one or more statement blocks. It is responsible for completing a specific task and has relative independence compared with other codes. ② Generally, there are input parameters and return values, whic ...
Posted by balsdorf on Sun, 26 Sep 2021 21:00:59 -0700
Programming language C language global variables and local variables difference - C language zero basic introductory tutorial
Programming language C language global variables and local variables difference - C language zero basic introductory tutorial
catalogue
1, Introduction to global and local variables
1. Introduction to global variables2. Introduction to local variables2, Considerations for global and local variables3, Guess you like it
Zero foundation C/ ...
Posted by direland on Sun, 26 Sep 2021 17:24:30 -0700
Go golang Learning 7: Compiled as a library that can be invoked by C
Explain
When you compile code using the go build or go install commands, you can use the -buildmode l to specify what file to generate.
go build -buildmode=<mode>
perhaps
go install -buildmode=<mode>
Use go help buildmode l to view all supported buildmodel options.
-buildmode=archive
Build the listed no ...
Posted by maybl8r03 on Sun, 26 Sep 2021 09:09:44 -0700