There are four steps for GCC to compile C source code: preprocessing ----> compiling ----> compilation ----> Link.
You can use GCC parameters to control the execution process, so that you can gain a deeper understanding of the process of compiling C
1. Conversion specifiers% A (% A) floating point number, hexadecimal number, and p-(P-) Notation (C99)% C characters% D signed decimal integer% F floating point number (including float and doulbe)% E (% E) floating point number index output [e-(E-)
The qsort function is included in the header file of . In this document, sorting is performed from small to large.I. Sorting int-type Arrays
Num [cmp (* a, ** (*) a-* (*, (num []), cmp );
2. Sort char array (same as int type)
Word [cmp (* a, ** (*
Binary Search Tree: For each node X in the tree, all the keyword values in the left sub-tree are less than those in X, and all the keyword values in the right sub-tree are greater than those in X.
TreeNode */* _ TREE_H */
(T! =->
(T = (X Find (X,
Socket options and protocol layer
SOL_SOCKET(General socket options)
SO_KEEPALIVEO_RESUSEADDRSO_LINGERSO_SNDBUFSO_RCVBUFSO_TYPESO_ERROR......
Allow TCP link persistence DetectionAllow reuse of local addressesAllow
A declares that it reads data starting from its name and then reads data in order of priority.
The priority of B is from high to low:
Section enclosed in brackets in B. 1 Declaration
B. 2 suffix OPERATOR:
Parentheses () indicate that this is a
Whether a char-type object without the qualifier signed or unsigned is signed depends on the specific implementation.
The dictionary order of characters is actually the ASCII Value Order of Characters in the ASCII table.
The char type
Author: idleBlog: blog.csdn.net/cg_ IEmail: B _dx@sohu.comReference books: C and pointer
Introduction:
Gao, a big leader, majored in computer science at XXX University in the United States, I wanted to get a diploma in a few years and return to
Object equivalence and same value1. When the same value is stored in two different instance objects, it is called "same value ".2. If the two instances are identical, they are called "equivalent ". // Determine whether two instance objects are
What determines the int type range in C?
In section 2.2 of The C Programming Language textbook K & R, The int type is described as follows:
An integer, typically reflecting the natural size of integers on the host machine
It indicates the natural
# Include 2 3 void input () 4 {5 int I; 6 int array [20]; 7 for (I = 0; I low address path, so it is very obvious, the stack has a stack bottom and a stack top, so the stack top address is lower than the stack bottom. For the CPU Of The x86 system,
Through the learning and understanding of Array and Set, we can imagine that Dictionary can be divided into two types: variable and immutable. Indeed, two dictionary classes are provided in Object C: NSDictionary and NSMutableDictionary. in. NET, we
# Include main (I = j =; k = I ++; m = ++ j; printf (
Auto-increment or auto-increment can be divided into two types:
I ++ ----> post auto-Increment
++ I ----> auto-Increment
Their similarities are that, whether post-auto-increment or pre-
Struct type variable definitionStruct type variables have the same definitions as other types of variables. However, the struct type needs to be defined in advance, so the definition form of struct type variables increases flexibility, there are
Driver file: qudong. c. make generates qudong. ko file, burned to the ARM Board DEV_NAME "rwtest" major = MAX_BUF_LEN = drv_buf [WRI_LENGTH = ssize_t dx_write (file * file, _ user * buffer, size_t count, loff_t * (count> MAX_BUF_LEN) count =
Reference: http://www.cnblogs.com/songQQ/archive/2009/09/03/1559838.html
Http://www.cnblogs.com/newlist/archive/2012/02/19/2358392.html
I. socket Overview
1. socket Definition
Network Programming in Linux is implemented through socket. The
NSFileHandleNSFileManager class is mainly used for file operations (such as deleting, modifying, moving, and assigning values)The NSFileHandle class mainly reads and writes the file content.NSFileHandle1: Create an NSFileHandle object2: perform I/O
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.