Read a C + + book reading list on a blog, you can refer to the following:Stage 1"Essential C + +"This is a little but practical introduction to C + + books, emphasizing the quick start and understanding of C + + programming. This book focuses on a series of increasingly complex procedural questions, as well as the language features used to solve these problems. You learn not only the functions and structures of C + +, but also the purpose and rationale of their design."C + + Primer"This book is
CommitteeStandard C + + foundation: Standards C + + foundationsBoost.org:Boost Library HomeC + + classic books (a website is a good list):Programming--Principles and practice Using C + +, Bjarne Stroustrup, 2008, with Chinese Translation: Principles and practices of C + + programmingThe C + + programming Language (4th Ed), Bjarne Stroustrup, 2013, Old Chinese version: C + + programming languageC + + Primer (5th Ed), Stanley Lippman et al., 2012, with Chinese translationInside the C + + object m
improvements at the beginning of the design, unless he has previously done similar programs or a thorough crowdsourced security testing.
References
[1] Freeman et al,Head First Design Patterns. O 'Reilly, 2004.License plate:In-depth introduction to the design model (English version). Southeast University Press, 2005.
[2] translated by Thomas et al and Sun Yong,Chinese version of Programming Ruby. Electronic Industry Press, 2007.
[3] Meyers, translate
General programming blogs
Http://blogs.technet.com/MarkRussinovich/-Mark is a MS Technical Fellow, and the author of the Sysinternals tools, and co-author of Inside Windows. most of his blog entries are good case studies in how to use tools to track down tough problems that you see.
Http://blogs.msdn.com/oldnewthing/-Raymond Chen's blog-Raymond is a Win32 guru, and he has lots of intersting Win32 how-not-to-do-it tidbits.
Http://herbsutter.wordpress.com/and http://www.gotw.ca-Herb Sutter is the
must read! Many times, we say that the C + + Bible does not refer to TC++PL, but to this one. The book "The Pragmatic Programmer" writes: "OnceYou find yourself involved in C + + project development, run (don't go) to the bookstore to buy Scott Mayer's "Effective C + +", and probably "more effective C + +".We can see how much the Morningstar has recommended for Scott Meyers!6. Exceptional C + +, more exceptional C + +, exceptional C + + Styleby Herb
VAR2 is also deduced, if you want to know more about , you can refer to scott-meyers this article: http://isocpp.org/blog/2012/ 11/universal-references-in-c11-scott-meyers1 voidF (widget param);//rvalue Reference2widget var1 = Widget ();//rvalue Reference3Template4 voidF (std::vector//rvalue Reference5Template6 voidF (t param);//Unified Referencing7auto var2 = var1;//Unified Referencing3. Rvalue reference, avoid deep copyrvalue references are used to
1. View C + + as a federation of Languages. Consider C + + as a 4 seed language, C, object-oriented C + +, Template C + +, the STL.2, things to Remember:rules for effective C + + programming vary, depending on the part of C + + you is using.Because C + + has a lot of programming paradigms, it is important to have a clear specification of how C + + is used in the project development process, so that the entire team can use the same style as possible and keep the project going.3, Prefer consts, en
Conclusion:From the perspective of object programming, the copy constructor calls the overloaded assignment operator, and the overloaded assignment operator calls the copy constructor without meaning. should be avoided.Don ' t try to implement one of the copying functions in terms of the other. Instead, put common functionality in a third function, this both call.--effective C + + third Edition by Scott Meyers Item 12:copy All parts of a object things
This article is about "C + + Rvalue References explained" The translation of the text, the original Thomas Becker.This article explained in detail the role of c++11 rvalue reference and the significance of the occurrence, but also by Scott Meyers Recommendation, the full text is divided into 11 parts, I will use spare time, respectively translated.Limited by the author's level, may be described a few problems, but also hope to correct.Some nouns are n
am afraid we do not like to play with it, and now we have to deal with the problem of New/delete, which makes the head is big. Fortunately we also have a strong standard library, when we use vector and string to solve the problem of 90% array, and these two things are so easy to use! In fact, modern C + + programming has not had to deal with pointers all day, using a good standard library (and the Boost library!). , C + + programming really becomes efficient and convenient.Here, we can summariz
what I think is more important or easy to remember those , why so? What is important is often about efficiency and safety, so it is enough to warn us. And easy to remember, it can be easier for us to accept, in practice to apply. In the process of description, in addition to refining the meaning of the book, I will join through the "Deep exploration of the C + + object Model" to get the understanding, will also add some about c++11 content, c++11 to c++98 a lot of improvements, and "effective C
type to be defined as const by the pointer. For example, to define a string constant based on char* in a header file, you would write a const two times:
const char * Const AUTHORNAME = "Scott Meyers";
Refer to clause 21 for the meaning and usage of const, especially the questions associated with pointers.
In addition, it is generally convenient to define the constants of a class (class), only a little bit different. To limit a constant to a class,
I suspect some people are doing secret Pavlov experiments on C + + software developers, or why many programmers drool when it comes to the word "efficiency." (Scott Meyers is really humorous translator note)
In fact, efficiency is not a matter of joking. A program that is too big or too slow their merits, however compelling, are not acceptable to people. It's supposed to be like this. Software is used to help us better work, said that the slow speed i
Composition and inheritance are two ways to define new classes using other existing classes. If your next job is primarily code reuse, you should usually use a combination rather than an inheritance. If you inherit from a brittle base class problem, you may inadvertently break a subclass by changing the superclass.
About inheritance relationships you can ask yourself a question whether it has modeled a is-a relationship. Meyers, "effective C + +" "Me
When you throw an exception, you introduce an interrupt event in the application. And crisis to the control process of the program. So that the desired behavior cannot occur. What's worse, you have to leave the cleanup work to the programmer who has caught the exception with the final write code. And when an exception occurs, if you can capture it directly from the state of the program you are managing, then you can take some effective steps. Thankfully, the C # Community does not need to create
Article Introduction: CSS Web Design tutorial: The Outline of the form button.
The use of outline, we all like to reset the reset style sheet directly:
* {
Outline:none;
}
Eric Meyers in his CSS reset is such a reset:
/* Remember to define focus styles! */
: Focus {
outline:0;
}
It is common to say these methods. But there's a little bit of a chance that people are still not quite sure. When used in a button in a form, a dotted box
;
AR g.minutes;
AR g.seconds;
}
}//Namespace serialization
}//Namespace boost
The Serialize function generated in this case is not a member function of the Gps_position class. It's a similar thing.
Non-intrusive serialization is primarily applied to the serialization of classes without changing the class definition. To implement this possibility, the class must provide sufficient information to update the class state. In this example, we assume that the class has a public member. Class state
May 15 News, according to foreign media reports, Google announced on 14th that it will launch a cryptographic network search service next week.
Mariza Meyers Marissa Mayer, vice president of Google's search for products and user experience, said at the company's annual shareholder meeting on the same day that the search service would be officially launched next Thursday (20th).
"We have encrypted the Gmail accounts of all users earlier this year, an
the configuration file config.h of an include, if you have the following definition: #define _LINUX_, the compiler compiles only the Linux platform-related code, if you have the following definition: #define _WINDOWS_, Then only the Windows platform-related code is compiled.
Finally, the configuration file config.h is not written manually, but is automatically generated by the script. As for how to write a script or use tools to generate a script, is another topic, and then introduce it later.
Meyers painstaking work, dozens of suggestions well-written, if four books can only choose one to learn, I choose this.
The second
Reason for recommendation: Because of its savage growth, C + + language itself has never been upgraded to such a high level, and has never been language levels of support, each platform to use their own way to achieve multiple threads, is eight Immortals crossing, recount, C++11 brought about the unification of multithr
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.