Ansi c provides three types of characters: Char, signed Char, and unsigned char. There are only two types of characters like short and INT (INT is unsigned int by default ).
Each of the three occupies 1 byte. Therefore:
The value range of signed
When reading chapter 11 of software debugging, I felt that exception handling is very important in VC. In the past, code writing by myself or reading code written by people around me rarely used exception handling, but recently I am exposed to code
Initialization and cleanup of the Runtime Library
The compiler will automatically insert an "compiled by the compiler" entry function for each module. In this entry function, initialize the function and call the user's entry function, after the
Programmers who use C/C ++ to develop software often encounter this problem: sometimes there is no problem in program compilation, but the function is always reported when the link is used (the classic LNK 2001 error ), sometimes there are no errors
As we all know, the process from C/C ++ source code to executable files goes through two phases: (1) the compiler compiles the source file into assembly code, and then the assembler (compiler) the default Suffix of the target file compiled by the VC
Turn: implementation principle of try/catch
1. Try/catch of VC ++ is implemented based on Win32 Seh.
2. Try/catch can only catch exceptions of the current thread. Each thread has its own exception handling entry.
3. The exception handling
Size of long integer may be different between 64-bit systems (each expressed as a long integer)
I don't know if I am too outdated...
I have always thought that the short, long, and long data types under C/C ++ are fixed to 2, 4, and 8 bytes.Size.
Document directory
1. Object Space and virtual functions
1.2 vptr and vtable
2. Structure and Analysis
3. Different implementations
Appendix 1 incremental links and ILT
Appendix 2 Name mangling/demangling of C ++
Appendix 4 generate mapfile
Sometimes, the "obvious" things that have been paused for a long time in my mind are basically wrong. Let's take a look at the following questions: What kind of answer will struct t {char ch; int I ;}; what kind of answer will be obtained when
The geting started on Windows (http://www.boost.org/doc/libs/1_38_0/more/getting_started/windows.html) on the boost official website mentions the name of the boost library, excerpted as follows:
Take libboost_regex-vc71-mt-d-1_34.lib as an example:
[Reprint]
Each class containing virtual functions has a virtual function table (vtbl). Each item in the table points to the address of a virtual function and is implemented as an array of function pointers.The virtual function table has
This article mainly analyzes how the single-piece mode in the Ogre engine is used, that is, the analysis and use of the Ogre: Singleton class. Before getting started, I once again lamented that the highly handwritten things are different, not only
The problem stems from a colleague's question: How can I check the maximum value of double in the VC compiler? He couldn't find it in limits. h.
In limits. H, you can only see the maximum value of an integer, but not the maximum value of a
Leecode aoti, leecodeaoti
[Disclaimer: All Rights Reserved. You are welcome to reprint it. Do not use it for commercial purposes. Contact Email: feixiaoxing @ 163.com]
Recently, I found that my ability to write code is greatly reduced. So, I
C/c ++ program written in notepad is executed in Windows.Zookeeper
1. Create a New 1.cin desktop with the following content:
2. Open the cmd command line window, enter E: \ Installed \ CodeBlocks \ MinGW under the CodeBlock installation
Today, I will share with you two problems that are easily overlooked in C ++ byte alignment. The following questions are also encountered in my actual development work. If you have different opinions, please contact us.
Here we will share two issues
TTI
//
A pen exam
//
Evaluate the knowledge of rtti and identify runtime types
//
You also need to enable the rtti function of the VC compiler.
//
Select C ++ language for project/settings/C ++/catogory and you will see that option.
I just learned and used it. A newbie! Make a summary. Don't forget it!
PHP is an open-source project. In Linux, every time a module is added, it needs to be re-compiled.In Windows, you can use the VC compiler or download the ready-made PHP. ini
Technorati labels: Visual C ++ 6, vc6, PDB, DSP, DSW, NCB, opt, PLG, CPP
Source: VCCommunity
. APs: An intermediate file for storing binary resources. VC converts the current resource file to a binary format and stores it in the APs file to
Manually compile the Perl Module
Advantage: all modules are available.Disadvantage: A little troubleSpecific steps: 1 install the compiler 2 set the environment variable of the compiler 3 possibly install dmakeSpecific Method:
1. First of all,
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.