自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 !!!Chapter 7 Functions (7.4 ~ 7.9)

7.4 Function Declarations A function must be declared before it is called. We can declare a function separately from its definition; a function may be defined only once but may be declared multiple t

2012-09-29 04:23:01 740

原创 !!!Chapter 7 Functions (7.1 ~ 7.3)

Like operators, functions can be overloaded, meaning that the same name may refer to multiple different functions. 7.1 Defining a Function A function is uniquely represented by a name and a set of

2012-09-25 05:16:32 754

原创 !!!Things to Learn

资料 1. 正则表达式 2. 程序员面试宝典,程序员的数学, 编程之美 3. C++ STL, efficient C++ 4. 源码,反码,补码。 补码好处:省一位(-0),而且令加法简单 6. design pattern        http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29   h

2012-09-20 04:48:11 436

原创 !!!Chapter 6 Statement

6.1 Simple Statements 1. Expression statement: An expression becomes an expression statement by following it with a semicolon. Expression statements cause the expression to be evaluated. Most comm

2012-09-20 04:41:18 803

原创 !!!Chapter 5 Expression

Operator precedence: http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B 5.1 Arithmetic Operators An expression is composed of one or more operands that are combined by operators. The simples

2012-09-15 22:09:26 682

转载 !!!Constant Expression (From MSDN)

C++ requires constant expressions — expressions that evaluate to a constant — for declarations of: Array bounds Selectors in case statements Bit-field length specification Enumeratio

2012-09-11 10:52:51 442

原创 !!!Chapter 4 Arrays and Pointers

4.1 Arrays Modern C++ programs should almost always use vectors and iterators in preference to the low-level arrays and pointers. Arrays are data structures that are similar to library vectors but a

2012-09-10 08:47:35 648

原创 !!!VC++ tips

How to show line number Go to Tools > Options > Text Editor > All Languages Check "Line Number" How to check VC build error Go to  http://msdn.microsoft.com/en-us/library/hhbdtt6d How to input EO

2012-09-08 21:47:51 277

原创 !!!Chapter 3 Library Types (3.3 ~ 3.5)

3.3 Library vector Type A vector is a collection of objects of a single type, each of which has an associated integer index. To use a vector we must include the appropriate header: #include using s

2012-09-08 06:02:06 401

原创 !!!C++ Primer 练习题

Problem 3.10 Write a program to strip the punctuation from a string. The input to the program should be a string of characters including punctuation; the output should be a string in which the punctu

2012-09-04 02:12:34 427

原创 !!!Chapter 3 Library Types(3.1 ~ 3.2)

3.1 Namespace using Declarations scope operator (::) means we should look for the name of the right-hand operand in the scope of the left-hand operand. A using declarations allows us to access a nam

2012-09-04 01:56:27 280

原创 !!!Chapter 2 Variable and Basic Types (2.4 ~ 2.9)

2.4 const Qualifier The const type qualifier transforms an object into a constant.  When use const to define a variable, it's still an lvalue, but now the lvalue is unmodifiable. Because we can

2012-09-02 12:14:54 542

原创 !!!Chapter 2 Variable and Basic Types (2.1 ~ 2.3)

2.1 Primitive Build-in Types void is a special type, it has no associated values and is most often used as the return type for a function that has no return value. Arithmetic types that represent in

2012-09-01 12:08:41 521

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除