help with linked list

How to write a C++ program containing a linked list of 10 integer numb

Page 1 of 1

3 Replies - 2043 Views - Last Post: 18 September 2008 - 11:32 PM Rate Topic: -----

#1 kennedyst407  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 24-August 08

help with linked list

Post icon  Posted 18 September 2008 - 02:37 PM

How to write a C++ program containing a linked list of 10 integer numbers. Have the program display the number in the list.
Is This A Good Question/Topic? 0
  • +

Replies To: help with linked list

#2 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1184
  • View blog
  • Posts: 7,254
  • Joined: 07-September 06

Re: help with linked list

Posted 18 September 2008 - 05:03 PM

Post your code!!! We won't do it for you!!! Read the rules:

Quote

We can't help you if you don't post your code. We will not do your homework for you. You MUST show some effort.
We have a 0-tolerance cheating policy. If we find you are trying to cheat, you will be warned, and subsequently banned. You MUST show some effort.

http://www.dreaminco...wtopic13280.htm

Also, post your code like so:
[code] Paste Your Code Here [/code]
Was This Post Helpful? 0
  • +
  • -

#3 DaneAU  Icon User is offline

  • Great::Southern::Land
  • member icon

Reputation: 286
  • View blog
  • Posts: 1,619
  • Joined: 15-May 08

Re: help with linked list

Posted 18 September 2008 - 08:28 PM

Well firstly you need to create a struct or class Node, that contains and stores a data_type in there, then you need to create your linked list and create a pointer

There is a tonne of tutes on here about linked lists, just search the forums and Tutorial section :)
Was This Post Helpful? 0
  • +
  • -

#4 rambabuy  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 8
  • Joined: 06-September 08

Re: help with linked list

Posted 18 September 2008 - 11:32 PM

View Postkennedyst407, on 19 Sep, 2008 - 03:07 AM, said:

How to write a C++ program containing a linked list of 10 integer numbers. Have the program display the number in the list.



HI
Please try u r self first and if u have problem then ask to our professionals.
we can not provide everything and time consuming process.
OK...
class class name
{
data and *pointer
};
.
.
..
.
inset function()
delete fuction()
find funtion()
main()
{
}
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1