自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 A Important Note

"""ADVICE: USE CONSTRUCTOR INITIALIZERS-------------------------------------------------------------------------------------------------------------------------------------------------------------

2014-01-24 11:08:00 560

转载 Name lookup for Class Member Declarations

It's quoted from the >"""....typedef double Money;string bal;class Account {public: Money balance() { return bal; }private: Money bal;//.....};When the compiler sees the decl

2014-01-22 15:59:07 585

转载 Constructors__<<C++ primer>>

"""Classes control object initialization by defining one or more special member functions known as contstructors. The job of a constructor is to initialize the data members of a class object. A cons

2014-01-17 14:39:23 513

原创 The first class after reading the section7.1 <<C++ primer>>

Today,  I start learning the class in C++.. It's really hard to get it.So slow my step into it...I decided to make some records at first.The books mention a simple class on Page 73:struct Sales_da

2014-01-09 21:16:00 699

原创 Pointer to the function

Pointer to the function?It appears on the page.247. I had never get in touch with this concept before. Let me make some records.A function pointer is just that -- a pointer that denotes a function

2014-01-09 12:28:46 479

原创 Today is boring... I register a new account in stackoverflow

Remark it ~Today, i register a new account in stackoverflow.The csdn is nice as the stackoverflow.That's enought for me, a  beginner in program

2014-01-09 09:30:17 498

转载 overloaded Function in c++

The overloaded function is an important concept in C++.What's the definition?Function that have the same name but different parameter lists and that appear in the same scope are overloaded. Genera

2014-01-08 14:35:38 998

转载 Automatic Objects and Local static Objects

Automatic ObjectsThe objects that correspond to ordinary local variables are created when the function's control path passes through the variable's defintion. They are destroyed when control passes

2014-01-06 11:08:39 667

转载 Parameters, Arguments

Quoted from the >:Arguments are the initializers for a function's parameters. The first argument initializes the first parameter, the second argument initializes the second parameter, and so on. Alt

2014-01-06 10:13:42 462

原创 the first glance at the try block

C++ primer introduce some functions of try block.. But it haven't a instance..So I get the first example.#include #include #include using namespace std;int main(){ float num1, num2, resu

2014-01-05 17:08:43 473

原创 C++ primer practice: 5.4.1 (Exercises section) answer

The is an answer (not the only one) for exercise 5.4.1:Remark it for my own path for program path#include #include using namespace std;int main(){ vector sVect; vector iVec; unsigned i

2014-01-03 10:36:28 890

原创 A puzzle for me (cookie)

Today, i met a problem.. I'm a new man in C++ programer.So it's reserved for me... I believe I would get it.#include using nameapce std;int main(){string str;auto sp = str.begin(); /// st

2014-01-02 16:28:37 533

空空如也

空空如也

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

TA关注的人

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