Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Comments
PIEBALDconsult 4-Dec-14 19:16pm    
I'd start at 1).

1 solution

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 :-)
 
Share this answer
 
Comments
Member 11287228 4-Dec-14 20:07pm    
I didn't know how to post my exact code at first but i figured out which way to add and and print the list thanks thought

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900