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
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 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
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom