Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1498213
  • 博文数量: 329
  • 博客积分: 2773
  • 博客等级: 少校
  • 技术积分: 4219
  • 用 户 组: 普通用户
  • 注册时间: 2012-02-24 14:17
个人简介

淡定从容,宁静致远

文章分类

全部博文(329)

文章存档

2016年(4)

2015年(50)

2014年(68)

2013年(45)

2012年(162)

发布时间:2012-12-18 22:00:49

//7.11 多继承#include<iostream>using std::cout;using std::endl; class A1{public: int x; A1(int x1):x(x1)  {  cout<<"A1的构造函数被执行"<<endl; } ~A1() {  cout<<"A1的析构函数被执行"<<endl; } void f()const {  c......【阅读全文】

阅读(899) | 评论(0) | 转发(1)

发布时间:2012-12-18 21:58:35

#include <iostream>using namespace std;class A{ public: int x; int y; int z; void print() {  cout<<"A中的函数"<<endl;  } };class B:public A{ public:  int x;  int m;  int n;  void print() {&......【阅读全文】

阅读(954) | 评论(0) | 转发(1)

发布时间:2012-12-18 21:55:58

#include<stdio.h>#include<stdlib.h> typedef struct linkdata{ int ID; char name[10]; char ***[5];}Data; typedef struct linknode{ Data data; struct linknode *next; }linnode; linnode *head;int n; void CreateList(){ n=0; linnode *p,*s; char x;......【阅读全文】

阅读(1127) | 评论(0) | 转发(0)

发布时间:2012-12-18 21:53:46

#include<stdio.h>#include<stdlib.h>#define SIZE 10 typedef struct lldata{ int ID; int nu; char name[SIZE];}Data; typedef struct llnode{ Data  data; struct llnode *next;}lln,*llp; llp CreateList(){ llp head,p,new; int id=0; head=malloc(sizeo......【阅读全文】

阅读(881) | 评论(0) | 转发(0)

发布时间:2012-12-16 23:39:04

#include<stdio.h>#include<stdlib.h> typedef struct linknode{ char data; struct linknode *next; }linnode;linnode *head;int n;void CreateList(){ n=0; linnode *p,*s; char x; int z=1; head = malloc(sizeof(linnode)); p=head; printf("\n\t\t请逐个......【阅读全文】

阅读(1341) | 评论(0) | 转发(1)
给主人留下些什么吧!~~

onlyword2017-06-23 11:39

回复  |  举报

勤劳致富linux2012-06-15 09:41

回复  |  举报

勤劳致富linux2012-06-01 11:43

老大,好饿呀,吃饭吧!

回复  |  举报

勤劳致富linux2012-05-31 17:50

老大,我来过!

回复  |  举报

llweiyang2012-03-30 11:04

回复  |  举报
留言热议
请登录后留言。

登录 注册