A-Tour-Of-C++-C++Primer
文章平均质量分 92
FitzLeopard
这个作者很懒,什么都没留下…
展开
-
C++ Primer Section 1-3
Contents and ThoughtsTwo kinds of commentThere are two kinds of comment in C++, single-line and paired(in CommentsInAddTwoNumbers.cpp).Single-line. Start with // and end with a newlinePaired...原创 2018-04-02 09:58:42 · 340 阅读 · 0 评论 -
C++ Primer Section 1-2
Section 1-2Contents and ThoughtsObjects for I/O StreamIn the header iostream , four objects for I/O stream are defined.cin — standard inputcout—standard outputcerr—standard error—warnin...原创 2018-04-02 09:54:43 · 121 阅读 · 0 评论 -
C++Primer Section 2-1
Section 2-1 Primitive Built-in TypesSection 2-1-1 Arithmetic TypesDifferences in Integer TypesDifferences between char wchar_t char16_t and char32_tNoteDifferences between short int long and long原创 2018-04-10 22:46:51 · 336 阅读 · 0 评论 -
C++ Primer Section 1-4
Section 1-4 Basic Flow of ControlThe while StatementBasic Structurewhile (condition) statementRule for whileThe body part(statement part) will be executed repeatedly until the co...原创 2018-04-06 20:19:00 · 908 阅读 · 0 评论 -
C++ Primer Section 1-5
Section 1-5 Introducing ClassSales_item ClassA class in C++ is a data structure, a type.When we look at a class, we should focus on the legal operations of it and not bother to care about the ...原创 2018-04-06 20:19:45 · 111 阅读 · 0 评论 -
C++ Primer Section 1-6
Section 1-6 The Bookstore ProgramExample CodeIn BookSale.cppThoughtsAs the end of Chapter 1, they present a program. But actually, it is not essentially different from the very program in...原创 2018-04-06 20:20:37 · 89 阅读 · 0 评论