皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
实验 1 的相关运算 一、实验目的 1 .理解的概念; 2 .掌握的建立,查找、插入、删除等基本运算。 二、实验原理 的存储结构定义为: typedef struct LNode{ int data; // 数据域 struct LNode *next; // 指针域 }LNode ; 三、实验内容 编写主函数,在主函数中调用建立的算法创建一个,然后调用查找、插入、删除算法。 运行调试,输入数据,并根据结果进行分析。 部分示例代码及程序运行参考界面如下所示,请 完善程序 , 并撰写实验报告 。 /* 头文件包含 */ #include #include /* 类型定义 */ typedef struct LNode{ int data; struct LNode *next; }LNode; // LNode 为结构体, // LinkList 为结构体指针。 /************* * 函数声明 * *************/ void createList_L(LNode *&L, int n);// 创建,注意参数 &L 为引用传递 void print(LNode *L);// 输出各结点的值 int getElem_L(LNode *L , int i); void insertList(LNode *&L , int i, int e); void deleteList(LNode *&L , int i, int &e); /************* * 主函数 * *************/ void main(){ // 演示创建 // 演示查找 // 演示插入运算 // 演示删除运算 } /************* * 函数实现 * *************/
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】 a film takes a long time and is a very hard work. Writing the story for the film may take many weeks. Filming the story being acted or shooting the film, as it is called, often takes at least s...
【简答题】It often takes long time to ___________ new ideas.
【单选题】It often takes long time to digest new ideas.
A.
I've crawled into balck-bear dens.
B.
It takes a couple of special qualities. One is a tolerance for solitude. The other is energy.
C.
Gazing up into his eyes, she seemed to take in all he said.
D.
I generated enough income to handle our $600-a-month mortgage payments.
【判断题】四.根据短文内容,判断正(T)误(F)。My name is Sally White . I am a school girl . My school is far from my home . Every day it takes long time to get there . The road is not flat . So I cannot go to school by bike . ...
A.
正确
B.
错误
【单选题】微生物种类繁多,在生物圈中分布极广。你认为下列哪项中可能没有微生物 [     ]
A.
海尔冰箱
B.
人体内
C.
制氧工厂
D.
刚出厂的罐头
【单选题】The scenes have to be filmed many times because ______.
A.
it takes a long time to make a film
B.
it is often difficult to make them just right
C.
many people work together
D.
the film is poor
【简答题】实验室连续性试验的目的:
【单选题】The reason relationships often break up after four years is that it takes that long to raise a child through infancy. (lines 109–112)(Please decide whether the statement above is a Fact or a Theory)
A.
Fact
B.
Theory
C.
X
D.
X
【单选题】微生物的种类繁多,分布广泛,其中( )微生物数量最多。
A.
空气中
B.
水中
C.
土壤中
D.
人的身体
【单选题】The reason why therapy often takes so long is that __________.
A.
it is not as effective as the therapists expected
B.
it is really difficult for people to transform themselves
C.
once people get back to their old environment, they tend to act in their old ways
D.
people cannot avoid being influenced by others even during the therapy
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题