1 / 70
文档名称:

Bjarne Stroustrup's C++ Style and Technique FAQ.pdf

格式:pdf   页数:70
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Bjarne Stroustrup's C++ Style and Technique FAQ.pdf

上传人:翩仙妙玉 2012/9/15 文件大小:0 KB

下载得到文件列表

Bjarne Stroustrup's C++ Style and Technique FAQ.pdf

文档介绍

文档介绍:IT-Homer 专栏
成功是优点的发挥,失败是缺点的积累! 不为失败找理由,只为成功找
方法……
Bjarne Stroustrup's C++ Style and Technique FAQ
分类: C/C++/C# 2010-06-10 18:28 248人阅读评论(0) 收藏举报
Bjarne Stroustrup's C++ Style and Technique FAQ
Modified October 4, 2009
Source: ./~bs/#void-main
==================================================================================
These are questions about C++ Style and Technique that people ask me often. If you have better
questions ments on the answers, feel free to email me (******@research.). Please remember
that I can't spend all of my time improving my homepages.
For more general questions, see my general FAQ.
For terminology and concepts, see my C++ glossary.
Please note that these are just a collection of questions and answers. They are not a substitute for
a carefully selected sequence of examples and explanations as you would find in a good textbook. Nor
do they offer detailed and precise specifications as you would find in a reference manual or the
standard. See The Design and Evolution of C++ for questions related to the design of C++. See The C++
Programming Language for questions about the use of C++ and its standard library.
Here is a Chinese translation of some of this Q&A with annotations
Link Source: ./~bs/ (Encoding to GB2312)
Topics:
Getting started
Classes
Hierarchy
Templates and generic programming
Memory
Exceptions
Other language features
Trivia and style
Getting started:
How do I write this very simple program?
Can you mend a coding standard?
How do I read a string from input?
How do I convert an integer to a string?
Classes:
How are C++ objects laid out in memory?
Why is "this" not a reference?
Why is the size of an empty class not zero?
How do I define an in-class constant?
Why isn't the destructor called at the end of scope?
Does "friend" violate encapsulation?
Why doesn't my constructor work right?
Class hierar