01 2016 档案

c++中在一个类中定义另一个只有带参数构造函数的类的对象
摘要:c++中在一个类中定义另一个只有带参数构造函数的类的对象,编译通不过#include using namespace std;class A { public: A(int i){} };class B { public: B(){} private: //A a;... 阅读全文

posted @ 2016-01-21 14:26 矮油~ 编辑

c++二进制文件的读写
摘要:#include "stdafx.h"#include "string"#include using namespace std;class C{public: C():i(),str(){};//初始化,非赋值 C(int iP,string strP):i(iP),str(strP)... 阅读全文

posted @ 2016-01-12 09:59 矮油~ 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示