Link to home
Start Free TrialLog in
Avatar of theKman
theKman

asked on

example of Linked List on UNIX...

I need to make a linked list on a SCO-UNIX box,  How do I do this?  Source code or links is what I am looking for.  I know how to do this is DOS, but since I don't the 'new' command in unix I don't know how to do it.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of imladris
imladris
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of theKman
theKman

ASKER

Very good points,  however,  would you have some source code showing it?
I don't have any linked list code lying around. I could cobble something together, however, my point is, since you say you can do it in DOS, that's all you need! You already have the source. There is no apparent reason why you DOS environment linked list code won't work under UNIX.
If you are in fact porting it and it is coming up with a problem, perhaps you could post a sample and we'll look at that. Or, if you simply want a sample of code to run a linked list (regardless of operating system) I can work up a simple example of that.

On the example front; http://www.snippets.org contains public domain code for linked lists, and many more things besides. It is very general purpose. It will presumably work very well. It may or may not help with understanding principles.

I'm not quite clear on why you are unhappy with that answer. Your original question was apparently searching for information with respect to the differences between DOS and UNIX.

I still believe the answer is: there isn't any. I offered to attempt to help resolve any porting problems you may have encountered, or provide sample code (even though you say you have linked list code), or a "professional" source.
If you are still in need of information along those lines, I am still willing to provide.