GRUB application CentOS 6 boot process:
POST –> Boot Sequence(BIOS) –> Boot Loader (MBR) –> Kernel(ramdisk) –> rootfs –> switchroot –> /sbin/init –>(/etc/inittab, /etc/init/*.conf) –> set
Author: Simo
String.getBytes () Chinese code problem
Get a byte array in the default encoding format of the operating system. This means that under different operating systems, the returned things are different!
byte[] a = “中”.getBytes()
View CentOS version information
(1) View the installed CentOS version information
1.cat /etc/issue View version
cat The abbreviation concatenate cat command can be used to display and merge files.
CentOS release
[HDU 3328] [Data Structure] Flipper
is a problem of flipping the brand. It is a little cumbersome to write, because it is only a laboratory water problem, so it is not optimized. L is flipped from the far left and overlaid on the sec
[Data Structure] Binary search tree
Binary search tree, also called binary sort tree, binary search tree. It has the following characteristics:
The value of the left subtree Less than the value of the root node, the value of th
[Data Structure] Tree array template – Code [VS] 1080 line segment tree practice And1081 line segment tree practice 2
CODE[VS] 1080: Click to enter the first floor of the magic tower
CODE[VS] 1081: Click to enter the second floor of the magic tower
The tree array is a good thing. The constant is smaller tha
String and encoding
Character encoding We have already talked about the character string is also a data type, but the string is more special is that there is an encoding problem.
Because computers can only proce
[Data Structure] Analysis of B Tree
1. The concept of B-tree B-tree, in general, is a balanced multi-branch tree in which a node can have more than 2 child nodes.
Features:
1> The root node has at least two child nodes
[Data Structure] 2.java Source Code About LinkedList
Focus on the source code of LinkedList
1. From the underlying data structure, expansion strategy
2. LinkedList additions, deletions and changes
3. Special processing focuses on attention
4. Trave
Write a Unicode C Source Code
I saw in the project properties on Visual Studio 2012 that you can select the character set for the application.
I use the Unicode character set.< br>What’s wrong with the multi-byte characte