码迷,mamicode.com
首页 >  
搜索关键字:尾插pushback    ( 2个结果
【C++】用类实现单向单链表的尾插PushBack(),尾删PopBack(),打印PrintSlist()。
建立源文件,命名为:Slist.cpp。#include"Slist.h" intmain() { Test(); system("pause"); return0; }建立头文件,命名为:Slist.h。#ifndef__SLISH_H__ #define__SLIST_H__ #include<iostream> usingnamespacestd; typedefintDataType; classSlistNode { friendcla..
分类:编程语言   时间:2016-03-04 02:09:29    阅读次数:330
C语言:【动态顺序表】动态顺序表的初始化、打印、尾插PushBack、尾删PopBack
#include<stdio.h> #include<stdlib.h> #include<assert.h> #include<string.h> #include<malloc.h> typedefintDateType; typedefstructSeqList { DateType*arr; size_tcapacility; size_tsize; }SeqList; //创建空间 voidCheckCapa(SeqList..
分类:编程语言   时间:2016-02-20 01:54:44    阅读次数:267
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!