Day02
Each writing a small program, first write a note to identify the role and purpose of the program. Important or critical statements are also written in comments. (A very useful habit later)
Bytes, which is the smallest unit in the
1. What is byte alignment? Why?In modern computers, memory space is divided by byte. Theoretically, it seems that access to any type of variables can start from any address, however, the actual situation is that access to specific types of variables
The Internet is something that people often use. It helps us solve many problems and plays an important role in our life. But how to make it? Now there are a lot of specialized web page creation software (such as Dreamweaver and fireworks), and
Java class
MySQL
Oracle
Bytes
Range
Character
Char (1)
Char (1)
2
0 ~ 65535
String
Varchar (255)
Varchar2 (255)
String-clob
Longtext
Clob
Date-date
Date
I. hibernate-Java-SQL type ing table
Image version (easy to view ):
Table Version (easy to copy and paste ):
Basic hibernate type
Java type
Standard SQL Field Type
Size/Description
Big_decimal
Java.
C Programming 2nd --- basic data types, operators, and expressions
2.1 variable nameVariables and constants are the main objects of C Programs. Therefore, their names affect the readability and maintainability of programs.C Language32 keywords, Also
1. When "\ n" is used in the count statement, a backslash (\) must be used. If "\ n" is written as "/N", no error message is provided during compilation.ProgramIt will still run, but the output content may be different from expected.2. Pre-compiled
Using system; using system. collections. generic; using system. LINQ; using system. text; namespace consoleapplication1 {struct XYZ {public int A; Public int B; Public int C; bool B1 ;}; class program {// static variables are stored on the stack,
Software development overview
Software: process data with a program
Processing data using a series of computer languages
Computer Language Development: machine language --> assembly language --> advanced language
Software Development Process:
1.
1. A block-level element with float left or right. If a horizontal margin value is set for it, for example, margin-left margin-right, the spacing in IE6 is greater than the set value.
Solution: Add hack: _ display: inline to the block-level element;
Directory
Code Restoration Technology
I. Introduction code Restoration
Ii. Data Type representation in code Restoration
1. Integer type
2. unsigned integer
3. signed integer
4. Floating Point Data Type
5.
Java is a strongly typed language, and each variable can only be declared as one type. However, Java and C + + provide "automatic type promotion" and "forced type conversion" to accommodate some of the different data types of "blending operations."
Object-Oriented Programming: Java's simple data type-general Linux technology-Linux programming and kernel information. For more information, see the following. Data types are abstract expressions of memory locations. Programmers can use multiple
OneAn enumeration type is a reference type, and the enumeration does not belong to the original data type, and each of his specific values refers to a specific object. The same value refers to the same object.You can use the ' = = ' and Equals ()
Malloc and free are in C standard library functions and are declared in stdlib. in H, the implementation will allow the operating system to allocate or release dynamic memory through system calls. The specific implementation is to design a length
Get the app path and set it to jsonviewcontroller.
Find the bundle file by path
Find the JSON file of the horizontal and vertical screens in the bundle file: viewstruct_landscape.json viewstruct_portrait.json
Parse JSON file:
Deep Analysis of sizeof () mona1 functions in C Language)Finishing by: Yu Chao EMAIL: yuchao86@gmail.com
I. sizeof ConceptSizeof is a type of single object operator in C language, such as other operators ++ and -- in C language. It is not a function.
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.