cud some one put up the code for this!
thankx.
You need to create a singly linked list where each node contains following information:
1. ID as int
2. Name as string or char[ ]
When your program is run, the following screen will be output and waiting for the user input.
1. List all the values in the list
2. Add a new value at the end of the list
0. Exit the program
The user can display all the values or add a new value at the end of the list by choosing corresponding option. The ID and Name will be displayed if the user chooses “1”.When a user adds a new value, he needs to input the “Name”. ID will be assigned,automatically by the last value’s ID +1. Please be careful about the next pointer assignment. When a new item is added, the old last item’s next value will point to the new item. The next pointer of new value will be assigned as NULL.
thankx.
You need to create a singly linked list where each node contains following information:
1. ID as int
2. Name as string or char[ ]
When your program is run, the following screen will be output and waiting for the user input.
1. List all the values in the list
2. Add a new value at the end of the list
0. Exit the program
The user can display all the values or add a new value at the end of the list by choosing corresponding option. The ID and Name will be displayed if the user chooses “1”.When a user adds a new value, he needs to input the “Name”. ID will be assigned,automatically by the last value’s ID +1. Please be careful about the next pointer assignment. When a new item is added, the old last item’s next value will point to the new item. The next pointer of new value will be assigned as NULL.


hehe ela ela C++ igena gannawa wage 
