
c++
whblv
小白
展开
-
第一章练习题解答
练习1.2#include <iostream>#include <stdlib.h>using namespace std;int main(){ system("pause"); return -1;}练习1.3#include <iostream>using namespace std;int main(...原创 2018-09-07 22:49:00 · 402 阅读 · 0 评论 -
数据结构链表 链表的定义及基本操作
1,链表的基本结构typedef struct LinkList{ int elem; LinkList *next; LinkList():elem(0),next(NULL){}} LinkList;2,链表的初始化LinkList* init_list(){ LinkList *HeadNode = new LinkList(); re...原创 2019-03-10 16:56:19 · 1989 阅读 · 0 评论