Tag:character
-
I/o flow
I/o flow Reference blog:Java IO stream explanation – time Island – blog Park (cnblogs.com) Concept: a channel for transferring data between memory and storage devices Classification: by unit: Byte stream: all data can be read and written in bytes Character stream: intelligently read and write text data in character units By function: Node stream: it […]
-
C++ : input / output stream
The input and output of data flow from one place to another like a water flow. This process is called “flow”. (1) Input and output strategies for C and c++ The data source of the input stream may be a keyboard or a file. The IO policies in C are as follows: Use scanf (), […]
-
C++ : input / output stream
The input and output of data flow from one place to another like a water flow. This process is called “flow”. (1) Input and output strategies for C and c++ The data source of the input stream may be a keyboard or a file. The IO policies in C are as follows: Use scanf (), […]
-
MySQL varchar length problem
Today, I saw the intern’s table creation statement, in which many fields are varchar (255). I thought it was very strange, so I mentioned it,Intern: “because MySQL has specifications, when the value in varchar is greater than 255, MySQL will add an extra 1-byte user storage length. When it is less than 255, only 1-byte […]
-
XHTML tutorial: text formatting and special characters
This section describes the implementation of text formats and special characters in XHTML.In the previous tutorial, we used the <b> tag once, which makes the content contained in it bold. For example, “<b> rookie bar </b>” will be displayed asA rookie。 We call this label that defines how text is displayed as a text format […]
-
8. string to integer (leetcode) – C language
Method 1: traditional thinking, directly traverse and compare characters according to the topic rules /* **Converting strings to numbers — question 8 of leetcode ** author: aliao */ #include <stdio.h> #include <limits.h> int myAtoi(char *str) { int i = 0; int start = 0; int len = 0; //Traverse the starting space character in the […]
-
Common cryptography in CTF
preface For reference, our teachers’ word and PPT, combined with their own understanding, combined with the understanding of online articles. I Base64 encoding In Base64 encoding, features and charactersLetters: A-Z A-Z; Number: 0-9; Symbol: +/And then there is often one “=” or two “= =” at the end. Principle: first convert each character of the […]
-
Roman numeral to integer, written by users whose Java execution time exceeds 100%
Execution time: 2 ms, beating 100.00% of users in all Java submissions subject https://leetcode-cn.com/problems/roman-to-integer Roman numerals contain the following seven characters: I, V, x, l, C, D, and m. Character value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, the Roman numeral 2 is written as […]
-
The enigmatic “steganography” is not exclusive to hacker agents – I use the front-end steganography, which is very interesting ❗
preface Hello, everyone ~ I’m Rongding, Mid Autumn Festival is coming soon ~ first of all, I wish you a Happy Mid Autumn Festival, family reunion, happiness and well-being~ The reason for this issue of copyright protection content is that some time ago, a group of friends said that his article had been stolen, so […]
-
First day of language learning
C language Floating point number Floating point numbers are stored in memory as exponents — numbers, alphanumeric The floating point number 168e2 in exponential form means 168* 102 Float — single precision variable provides 7 significant digits — conservative estimation Double — double precision variable provides 15 significant digits — conservative estimation %F — output […]
-
VIM from entry to mastery
install Download the windows installation package. The latest version is available inhereDownload the Chinese help installation package. The latest version is available inhereInstall the VIM plug-in. The original file is in thehere, download the plug VIM, and then put it in the autoload directory of the VIM installation path Introduction to VIM VIM is a […]