我该如何开始呢? [英] How Would I Start This ?

查看:110
本文介绍了我该如何开始呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用链接列表存储学生信息列表(ID号,名字和姓氏)。 ID是关键字段。您的程序应使用数组实现链接列表。您的程序应该处理以下操作。

1)将项添加到链接的监听器。 1 254 John Smith

2)在逻辑orderex中打印链表。 2

3)打印链表的物理顺序,包括list,avail和next。恩。 3

4)打印链表中有多少项目的计数。恩。 4

奖金(在尝试5之前必须使1-4工作)5)从链接的监听中删除一个项目。 5 254

#include< iostream>

using namespace std;

struct studenttype

We are storing a list of student info, (id number, First name and Last name) using a link list. The ID is the key field. Your program should implement a linked list using arrays. Your program should process the following operations.
1) Add an item to the linked list
ex. 1 254 John Smith
2) Print the linked list in logical order
ex. 2
3) Print the physical order of the linked list including list, avail and next.
ex. 3
4) Print a count of how many items are in the linked list.
ex. 4
Bonus (you must get 1-4 working before attempting 5)
5) Delete an item from the linked list
ex. 5 254
#include<iostream>
using namespace std;
struct studenttype

推荐答案

正如任务描述所说:你的程序应该这样做。所以你应该得到你的课程笔记并开始研究它。我们不会做你的作业。



如果你遇到困难。粘贴您已有的代码并准确描述您所处的位置。这可能会引起答案。



顺便提一下,你的老师也可能正在阅读这个网站: - )
As the task description says: Your program should do that. So you should get your course notes and start working on it. We won't do your homework.

If you get stuck. Paste the code you already have and describe exactly where you are stuck. That might raise an answer.

By the way, your teacher might be reading this website too :-)


这篇关于我该如何开始呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆