Do not disturb the terms summarized during study and work ~
Since the Standards Committee has never had a uniform standard C ++ Abi, various vendors have their own systems. To avoid accidents, it is also necessary to follow the rules, but you can
You can rename this book to or , it can even be called . In short, Koening talked about all the above aspects, and first of all, programming ideas and design principles, the second is C ++, which is highly consistent with Bjarne stroustrup, so that
After reading the classic UNIX network programming by W. Richard Steven S, can I use the Sockets API to compile the echo service as shown in the example, but still cannot start with a slightly complex network programming task? Examples in the
Item 15: provide raw resources access in resource-management classes (resource management class)
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
Resource-managing classes (resource management
Discussion on the interoperability between arrays and pointers in C Language
Author: Zhang guiquan
I have heard from many friends that C is a nostalgic language because it has a long history. However, since the emergence of various object-oriented
Next we will talk about the interoperability between arrays and pointers in C language.
Author: Zhang guiquan
Not long ago, I wrote a similar article and published it on my blog. The results were good. I saw many friends posting this article. This
Just like , focuses on design, it explicitly named this design as "policy-based programming", instead of using general terms such as "modularity" and "encapsulation change", followed by C ++, the core is typelist. If is the design guide for
Looking forward to the ABI of C ++
Cast is actually a compiler instruction. In most cases, it does not change the real address contained in a pointer, it only affects the interpretation of the "size and content of the memory being pointed out". So,
(Click here, next to the previous article)
When object references (references) and pointers (pointers) can be performed, avoid using objects.You can define the references and pointers of this type only by declaring a type. Define a typeObjectsThe
The Ten CommandmentsFor C programmers(Annotated edition)Henry Spencer
1
Thou shalt runLint Frequently and study its pronouncements with care, For verily its perception and judgement oft exceed thine.
This is still wise
Item 48: Feel the template metaprogramming (template metaprogramming)
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
Template metaprogramming (TMP) is the process of writing a template-Based C
Item 2: replaced by consts, enums, and inlines # defines
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
It may be better to change the name of this item to "replace Preprocessor with compiler (
Item 47: Use traits classes for type information)
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
STL mainly consists of teminers (container), iterators (iterator) and templates (templates) of
Item 44: code for separating parameter-independent from templates (Template)
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
Templates is an excellent way to save time and avoid code
Scoped_array
Header file:
"Boost/scoped_array.hpp"
It is usually best to use an array to be dynamically allocatedSTD: VectorBut there are two situations, it looks better to use Arrays: one is to optimize, useVectorThere are some additional memory
Item 42: Understand the two meanings of typename
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
Q: What are the differences between class and typename in the following template declarations
Directory structure
Memory Pool Introduction
Introduces the improvements and technologies of memory pool Analysis
How to work with STL containers
Performance Testing
How to Use
Memory Pool introduction:
There are many good articles about
In the previous article, I provided the source code for creating a single thread. Of course, the thread pool cannot be pulled down ~
Many times, we need a set of threads to solve the problem. Of course, you can create some threads to complete
# Include # Include # Include Using namespace STD;
Void main (){
Int Va = 3032% 1000; Va = 3032/1000;Int // A & B and operations, return the smallest value of each bit (bit, that is, binary) in A and B;Value = 1 & 1; // 1Value = 1 & 0; // 0Value =
Item 49: understand New-handler Behavior
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
When operator new cannot meet a memory allocation request, it throws an exception ). A long time ago,
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