A warning message is given when the compiler discovers that there is a problem in the program and there may be problems. Warning messages can mean large errors that are implied in the program, or they may not be a problem. The correct way to handle
21. pointer Basics
Pointer essence: A pointer is essentially a variable that requires a certain amount of memory space. The pointer is used to save the value of the memory address.
Value Transfer and address transfer: 1. the pointer is a variable,
1. Data Types, especially int-related types, have different lengths on the platform of machines with different digits. The c99 standard does not specify the length of a specific data type, but only specifies the level. For comparison:
implicit conversion (implicit conversion) Short a=; int b;b=a;Short is two bytes, int is four bytes, the conversion from short to int is a wide transform (the bit number is increased), the compiler does not have warning, as shown in. The widening
Data Model (lp32 ilp32 lp64 llp64 ilp64)
The 32-bit environment involves the "ilp32" data model because the C data type is 32-bit int, long, and pointer. The 64-bit environment uses different data models. At this time, the long and pointer are
1GCC common errorsI. Error TypeClass 1: C syntax errorError message: line N of the file source. C contains a syntax error (Syntex errror ).Errors of this type are generally caused by C
1GCC Common errorsI. Error TypeClass 1: C syntax errorError message: line n of the file source. c contains a syntax error (syntex errror ).Errors of this type are generally caused by C syntax errors. Check the source code file carefully.The program
Original URL: http://www.cnblogs.com/kex1n/archive/2010/10/06/1844737.htmlThe type of data, in particular int, is different in length under the platform of different bits of machine. The C99 standard does not specify the length size of the specific
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:
and provide relevant evidence. A staff member will contact you within 5 working days.