Here is my project for a school assignment. This lists all the required fields, It has 2 parts. Once the first part program is working, the second part can be done based off of it.
PART 1
Create a simple linked list program to create a class list containing
class node
{
void *info;
node *next; public:
node (void *v) {info = v; next = 0; }
void put_next (node *n) {next = n;}
node *get_next ( ) {return next;}
void *get_info ( ) {return info;}
};
1). Be able to initially fill the list. Provide functions to insert/append nodes and remove nodes from the linked list. Be able to display the contents of the list.
2). Write a little driver program with at least 5 values passed in (so that 5 nodes are created) as you insert/append, delete and display data, showing the programs operation.
PART 2
Create a program that uses a derived class based on the list class you’ve created in the first program. This program will use a stack data type.
class node {
void *info;
node *next;
public:
node (void *v) {info = v; next = 0; }
void put_next (node *n) {next = n;}
node *get_next ( ) {return next;}
void *get_info ( ) {return info;}
};
class list {
node *head;
int node_num;
public:
list ( ) { node_num = 0; head = 0;}
void remove (int);
void insert (void *, int);
void append (void * v) {insert (v, node_num + 1); }
void *find (int);
void display ( );
};
1). Write functions to push and pop the stack. Write a driver main program which gives 5 values (5 nodes created) that will push, pop and display data stored.
Hi, Consider its done! I would love to get this opportunity of working with you. I can guarantee complete satisfaction if you select me to execute this project. Please check private message board.
Thanks
Hello there, I am an experienced C++ programmer. I can get this done for you within a few hours. I will deliver part 1 to you as soon as it is done so that you will have a chance to test and verify the functionalities while I work on the part 2. Part 1 should take less than an hour.
You may expect the code to be fully commented and fully tested by the time you get it. You can expect quality from my work. I hope you will consider my bid. Cheers!
Hi I am an experienced software developer , with 1.5 years of experience in working for Cisco , Texas Instruments., I can do this project for you. and deliver within 1 day
Nishant