Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
Iptv
musicking
Updated:
Yesterday at 9:52 AM
Ad icon
ZTE MF283U 4G Unlocked Router (Used)
ayanthamaxi
Updated:
Jul 19, 2026
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Jul 18, 2026
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Jul 15, 2026
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Jul 15, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
C++ help!!!
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="YGG" data-source="post: 7298424" data-attributes="member: 7317"><p>cud some one put up the code for this!</p><p>thankx.</p><p></p><p></p><p>You need to create a singly linked list where each node contains following information:</p><p>1. ID as int</p><p>2. Name as string or char[ ]</p><p></p><p>When your program is run, the following screen will be output and waiting for the user input.</p><p>1. List all the values in the list</p><p>2. Add a new value at the end of the list</p><p>0. Exit the program</p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="YGG, post: 7298424, member: 7317"] 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. [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom