自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 重置运算符

#include using namespace std;class pddate{public:void printf(int a){cout}void printf(double a){cout}void printf(char *a){cout}};int main(void){pddate kk;k

2017-08-15 14:25:31 694

原创 派生类继承基类

#include using namespace std;class shop{public:void setwidth(int i){width = i;}void setheight(int h){height = h;}protected:int width;int height;};class shapp{

2017-08-10 14:52:56 964

原创 基类 派生类 算一个数乘积

#include using namespace std;class shop{public:void setwidth(int i){width = i;}void setheight(int h){height = h;}protected:int width;int height;};class shap : pub

2017-08-10 11:14:39 292

原创 编译成功

#include using namespace std;//void ShowStuctMessage(struct PersonInfo pInfo);struct PersonInfo{int index;char* name;short age;};void ShowStuctMessage(PersonInfo pInfo){coutcou

2017-08-03 16:09:44 373

原创 编译失败

#include using namespace std;struct PersonInfo{int index;char name[30];short age;};void ShowStuctMessage(struct PersonInfo Mypinfo){coutcoutcout}void main()PersonInfo pIn

2017-08-03 14:35:30 425 1

原创 *打印菱形

#include using namespace std;void xin(){int i,j,k;  for (i=1;i  {  for (j=1; j  cout  for ( k=1; k  cout  for (j=1; j  cout   cout  }   for(i=9;i>=1;i--)       {  f

2017-07-26 23:38:57 239

原创 输入一个数判断是星期几

#include using namespace std;void main(){int numbe;cin>>numbe;switch(numbe){case 1:coutbreak;case 2:coutbreak;case 3:coutbreak;case 4:coutbreak;case 5:coutb

2017-07-25 10:18:03 1481

原创 奇数偶数

输入一个数测奇数偶数

2017-07-25 09:04:34 460

空空如也

空空如也

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

TA关注的人

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