hello_vzjw

2016年4月22日

c++ 构造函数、拷贝构造函数——c++复习(二)

摘要: c++#param mark 数据类型 string代替char*void TV::power() { cout<<"power"<<endl; string name = "FCF"; string hobby("eat"); c... 阅读全文

posted @ 2016-04-22 18:03 hello_vzjw 阅读(108) 评论(0) 推荐(0)

c++ 指针、引用、内存管理、函数(引用、重载、内敛)——c++复习(一)

摘要: 因为最近写cocos2dx游戏,发现c++基本还给老师了,所以有必要再复习一下,温故希望能知新。废话不多说,直接码起来#include typedef struct{ int red; int blue;}Color;//函数声明int getM... 阅读全文

posted @ 2016-04-22 14:53 hello_vzjw 阅读(111) 评论(0) 推荐(0)

导航