[Programming] GoC programming examples in primary and secondary schools
Welcome to my column [General Knowledge of Artificial Intelligence]
More related articles Click June 2019 as Topic
Can children learn programming?I'm not talking about programming like Scratch, but really writing code, C++.
Screenshot of the Trainer website
About GoC programming
GoC is an extension of the C language and an i ...
Added by xeidor on Sat, 06 Jul 2019 19:30:26 +0300
python algorithm and data structure-fast sorting (36)
Introduction to Quick Sorting
Quicksort (English: Quicksort), also known as partition-exchange sort, divides the sorted data into two separate parts by one-time sorting. All the data in one part are smaller than all the data in the other part. Then, according to this method, the two parts of the data are sorted quickly, and the whole sorting p ...
Added by Option on Mon, 24 Jun 2019 22:54:25 +0300
linux Kernel Interrupt Implementation Principle
Preface
This article mainly explains several questions:
What is interruption and what are the categories of interruption?
How can interrupt events be passed step by step from the event source to the kernel layer and the corresponding interrupt handling functions are invoked?
How is the interrupt system initialized during kernel startup? ...
Added by michaellunsford on Mon, 24 Jun 2019 03:51:20 +0300
Creation of C Language Link List and Addition and Deletation of Nodes
The first time to write a blog, if there are any mistakes, please correct...
This afternoon, I inverted the linked list of c language. I feel that the linked list is a small database. It is very convenient to store and manage user information of simple small programs.
For convenience, take student information as an example:
The link ...
Added by skizzay on Fri, 21 Jun 2019 02:31:53 +0300
IO Concurrency Model
IO Classification
IO Classification: Blocking IO, Non-Blocking IO, IO Multiplexing, Asynchronous IO, etc.
Blocking IO
1. Definition: Block if the execution condition is not satisfied when performing an IO operation.Blocking IO is the default form of IO.
2. Efficiency: Blocking IO is a very inefficient type of IO.But because of its simplicit ...
Added by mimcris on Wed, 19 Jun 2019 20:55:11 +0300
Data Structure Learning Series 1-Simple One-way Link List
Xiao Xu
The so-called Pu-Yu is not refined, comparing itself to Pu-Yu is really an old face and no need, ha-ha. After learning C language, I have been idle for several years. Now I decide to learn data structure. I think of the teacher who said to do more exercises in the course of data structure before. It's a pity that so many youths have b ...
Added by johnie on Fri, 14 Jun 2019 01:50:25 +0300
Aha! Algorithms - Chapter 2: Stack, Queue, Link List
queue
concept
Queues are a special linear structure that allows deletion only at the head of the queue, which is called "queue out" and insertion at the tail of the queue, which is called "queue entry". When there are no elements in the queue (head = tail), it is called an empty queue.
Queues have the principle of Frist In F ...
Added by kincet7 on Thu, 13 Jun 2019 01:33:34 +0300
Array application
Array of Strings in C++
There are three ways to create Array of Strings in C++.
Using a two-dimensional array (C/C++)
1.1 Strings represented by character arrays
There are two types of initialization for character arrays
char str2[6]="china";
char str3[5] = {'c','h','i','n','a'};The first method of initialization must allocate ...
Added by boonika on Mon, 03 Jun 2019 00:05:59 +0300
c-based Program for Random Generation of Four Operations
A Small Program for Random Generation of Four Operations Based on http://www.cnblogs.com/HAOZHE/p/5276763.html
Github source code and engineering file address: https://github.com/HuChengLing/-
Basic requirements:
In addition to integers, it can also support four operations of true fraction.
The function of the implementation is described, and t ...
Added by mausie on Fri, 24 May 2019 23:14:40 +0300
MySql Learning Notes: JOIN
Prerequisite: Create two relational tables:
CREATE TABLE t_blog(
id INT PRIMARY KEY AUTO_INCREMENT,
title VARCHAR(50),
typeId INT
);
CREATE TABLE t_type(
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(20)
);
The table data are as follows:
1. Acquisition of Public Parts A and B
MySql provides an int ...
Added by erichar11 on Sun, 19 May 2019 16:27:05 +0300