Learning notes of C language programming: P4 cycle
1, Circulation
1.1 cycle
Now I have a problem: the program reads in a positive integer with less than 4 bits (including 4 bits), and then outputs the number of bits of this integer. If input 352, output 3.
People's way: you can see it with your eyes. We can see that 352 is a three digit number at a glance. The way of computer: what the ...
Posted by pgrevents on Tue, 16 Nov 2021 07:46:14 -0800
Beginner programming, ideas are clear, but can't write the code?
The initial contact programming can be directly used. Instead of the large piles of books on the front floors, they may not be able to help you write code. If you don't say, they may directly persuade you to retreat.
First, look at the problem. It shows that you have ideas and can figure out all the problems. Then there is a very simple method ...
Posted by oceans on Fri, 12 Nov 2021 13:56:07 -0800
so eazy uses Netty and dynamic proxy to implement a simple RPC with one click
RPC (remote procedure call) remote procedure call
RPC is used to communicate between the Java processes of two hosts in distributed applications. When host A calls the methods of host B, the process is simple, just like calling the methods in its own process. The responsibility of RPC framework is to encapsulate the details of the underlying c ...
Posted by kylecooper on Mon, 08 Nov 2021 17:30:31 -0800
Love, this summary of Java Concurrent Programming technology is too detailed
preface
Concurrent programming technology is an important knowledge point in Java. How much do you know about the following?
Overview of process, thread and collaboration relationship
Process: in essence, it is an independently executed program. Process is the basic concept of resource allocation and scheduling by the operating system. T ...
Posted by guarriman on Sun, 07 Nov 2021 23:42:17 -0800
Maven build project, how to build Java and Web projects in IDEA and how to run
3. Construction of Maven project
3.1 contents of Maven project
The structure of the project is as follows:
See the following figure for details:
3.2 commands for manually building projects
mvn compile #compile
mvn clean #eliminate
mvn test #test
mvn package #pack
mvn install #Install to local warehouse
Just be familiar ...
Posted by tina88 on Thu, 04 Nov 2021 18:47:40 -0700
[C language] files can be operated like this (code demonstration + detailed explanation + application)
This blog shares with you the knowledge about the operation of C language files, exchanges with each other and makes common progress
What is a file?
The code we wrote earlier uses "variables", or memory
Memory characteristics
Small capacity, speed block, data loss after power failure, relatively expensive
But memory can't ...
Posted by jcantrell on Wed, 03 Nov 2021 23:10:45 -0700
A preliminary understanding of greedy thought
catalogue
1. Distribution issues
2. Interval problem
3. The best time to buy stocks
4. Summary
1. Distribution issues
Title Description:
This kind of problem probably means that there are a group of children and a pile of biscuits. Each child is very hungry. If the size of the biscuit is greater than or equal to the child's hunger, ...
Posted by DfyAnt on Wed, 03 Nov 2021 20:54:24 -0700
[C language] super detailed explanation of string function & & memory function (detailed explanation + code demonstration + simulation implementation)
This article mainly introduces some commonly used string functions and memory operation functions. If there is a problem with what is written, please comment
catalogue
preface
1, strlen
First, experience it through the following code
Function declaration
The following error demonstration
Simulation Implementation
About const ...
Posted by dizzy1 on Sun, 31 Oct 2021 17:42:00 -0700
[HTML zero basics to introduction] detailed tutorial Chapter 1
Part I: introduction to HTML framework
1. What & how to learn & what tools to use
(1) What is HTML?(2) How to learn HTML?(3) Tools used: 2. Basic structure of HTML3. Specification of HTML file4. Basic template of HTML Part II: labels
1. Use style and attribute of label
(1) Usage style of label:(2) Label properties:(3) Bl ...
Posted by ksteuber on Tue, 26 Oct 2021 22:08:12 -0700
ndnSIM learning -- the whole process from consumer sending interest package to producer returning data package
preface
In the last article ndnSIM learning (8) -- ndn-simple.cpp of examples analyzes each function line by line In, we analyze the underlying principle of the whole ndn-simple.cpp. As the core, it is naturally the working process of the whole network: how do consumers send interest packets? How do producers return packets based on intere ...
Posted by burn1337 on Tue, 26 Oct 2021 03:07:56 -0700