摘要:
看到笔试和面试里很多这样的题目,于是就练习一下,温故知新。#include #include using namespace std;typedef struct List{ int data; struct List *next;}listNode,*pList;void createList(pList & list) //头插入法建立单链表{ pList head=NULL; int data; cout>data; list=(struct List *)malloc(sizeof(listNode)); ... 阅读全文
posted @ 2013-10-08 17:13
xshang
阅读(932)
评论(0)
推荐(0)

浙公网安备 33010602011771号