// Create compatible DCCDC memdc; // define a display device objectCbitmap membitmap; // defines a bitmap object.
// Create a memory display device compatible with Screen DisplayMemdc. createcompatibledc (null );// No drawing yet, because there is
This book is intended for those with intermediate C ++ProgramPrepared by the staff, the content inside is very advanced and well-read. I just browsed it all over now. I will be able to read this book after I have come into contact with C ++ and have
Chapter 1 Basic Concepts
1. Program Execution Process
It goes through several stages: first, it is loaded into the memory. In the host environment (with an operating system environment), this task is completed by the operating system. Variables that
Yesterday, a C program was run in Linux to process every frame in a video. in the program, a piece of information is output every time a frame is processed, however, it is not displayed during running, but output after the program is completed, but
Chapter C: crossing the fog of Time and Space1. Prehistoric stage of C LanguageLanguage B simplifies BCPL by omitting some features (such as process nesting and loop structures, the idea of "referencing an array element is equivalent to referencing
Reference: http://blog.csdn.net/wanwenweifly4/article/details/6739687
Red is added by me, and others are from the original author.
After reading the above article "Understanding the C ++ reference implementation mechanism from the underlying
Chapter 2 C language basics
1. Concept
C is a very small Kernel Language and contains very few hardware-related elements. It can be said that C is highly portable. For example, the C language does not provide statements related to file operations or
This is a record of reading the essence of C/C ++ code. In fact, this book is more inclined to explain the relevant knowledge in C ++. I also introduced many differences between C and C ++.
Chapter 3 Better C1. IntroductionC ++ is a hybrid language
This is a record of C ++ University tutorial version 2nd. The second version seems old, but I haven't found the specific time. From the content, it seems that it should be before the C ++ standard was launched.
1. Obtain random numbers in C ++
The
1. What does the keyword volatile mean? Three different examples are provided.
A variable defined as volatile means that this variable may be unexpectedly changed, so that the compiler will not assume the value of this variable. Precisely, the
You can use fwrite () to write a struct to a file:
Fwrite (& some_struct, sizeof somestruct, 1, FP );
The corresponding fread function can read it again. Here, fwrite receives a structure pointer and writes the memory image of this structure into
Chapter 1 category1. ConstructorClass constructor generally uses an initialization list to initialize data members of an object.2. member functionsDeclaring a member function within a class is required, while defining a member function is optional.
Dr. Lin's book is very well written, and many knowledge points are very thorough. It is a book that must be read to learn C ++.
Chapter 1 Basic concepts of procedures
1. I/O interfaces in languages
Pic1
2. Language implementation
Pic2, 3
3.
Http://www.linuxforu.com/2011/12/loading-library-files-in-cpp? Utm_source = feedburner & utm_medium = feed & utm_campaign = feed % 3A + linuxforyou + % 28 linuxforyou + % 29
It is easier to load and store data in C language, but it is more
The Principle and Practice of C ++ programming is a book written by the father of C ++. This book mainly uses a desktop calculator to show the process of program design. The example of a desktop calculator is completed in one step. First, a small
C code optimization solution
1. Use data types as small as possible
2. remainder operation
The bitwise operation is used to replace the remainder operation: as long as it is a modulo of 2 ^ N, it can be replaced by a bitwise operation.
The
After reading this book, I feel that this book is still good. A major feature of this book is to clarify the differences between C and C ++. I think this is very important. Many C ++ books often talk about C and C ++ together, then, the readers may
If the member variables of a class are specific classes and custom structures, use the class name or structure as the operator for heavy loading. (Of course, this is the basic type, but it is not practical. It only reduces the readability of the
Every programmer shocould learn C during their programming career. Its benefits are too numerous to ignore. Not only will it open more job opportunities, but it will teach you more about computers as a whole.
C is lower level then other programming
Understand the key points of virtual functions:
1. Understand early binding and late binding ). The so-called early binding: On compile time can determine which member function of a function call is performed on, that is, the address 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:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service