| | |
linked list implementation of stacks
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2005
Posts: 1,705
Reputation:
Solved Threads: 274
Well, you're going to need to gut out your own linked list code (that's the hardest part of this assignment, really). Then you'll need some mechanism to gaurantee that the last item entered into the list is the first item removed from the list. NOTE--that doesn't necessarily mean that the last item entered into the list has to be the last item of the list. After that, it's pretty straightforward to provide the other methods routinely associated with a stack.
There was a thread on another forum a few days ago about Linked Lists, give it a read, because the answers might help you. http://cboard.cprogramming.com/showthread.php?t=78460
>You are obviously lacking in receiving since you lack the knowledge of giving.
If I give you code without any effort on your part, I've done nothing but hurt you. I wouldn't expect you to have the foresight to appreciate the difference yet, but if you stick to programming, you'll eventually understand. And at that point I hope you regret being a jerk to all of the people who were trying to help you.
If I give you code without any effort on your part, I've done nothing but hurt you. I wouldn't expect you to have the foresight to appreciate the difference yet, but if you stick to programming, you'll eventually understand. And at that point I hope you regret being a jerk to all of the people who were trying to help you.
I'm here to prove you wrong.
•
•
Join Date: Apr 2006
Posts: 114
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Narue
>You are obviously lacking in receiving since you lack the knowledge of giving.
If I give you code without any effort on your part, I've done nothing but hurt you. I wouldn't expect you to have the foresight to appreciate the difference yet, but if you stick to programming, you'll eventually understand. And at that point I hope you regret being a jerk to all of the people who were trying to help you.
Mr/Ms Narue this was directed to you and only you. I understand and appreciate exactly what you are saying. However, somewhere in your life the word tact needs to be defined. It is not what you said but how you came across, simply rude. If you don't have any positive advice, please refrain from negative comments. Thank you. Again, I do understand what you are saying and hope you realize that displacement, on your part, is not pretty.
•
•
Join Date: Apr 2006
Posts: 114
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Bench
There was a thread on another forum a few days ago about Linked Lists, give it a read, because the answers might help you. http://cboard.cprogramming.com/showthread.php?t=78460
. >It is not what you said but how you came across, simply rude.
I'm not surprised that you have no idea what I'm doing. Here's a hint: You're not likely to forget what I've told you. Emotional trauma creates longlasting memories.
>Again, I do understand what you are saying
No, you don't. But you will...if you find any measure of success in programming.
>hope you realize that displacement, on your part, is not pretty.
That's a very nice attempt. Unsuccessful, but very nice indeed.
I'm not surprised that you have no idea what I'm doing. Here's a hint: You're not likely to forget what I've told you. Emotional trauma creates longlasting memories.
>Again, I do understand what you are saying
No, you don't. But you will...if you find any measure of success in programming.
>hope you realize that displacement, on your part, is not pretty.
That's a very nice attempt. Unsuccessful, but very nice indeed.
I'm here to prove you wrong.
•
•
Join Date: Apr 2006
Posts: 114
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Narue
>It is not what you said but how you came across, simply rude.
I'm not surprised that you have no idea what I'm doing. Here's a hint: You're not likely to forget what I've told you. Emotional trauma creates longlasting memories.
>Again, I do understand what you are saying
No, you don't. But you will...if you find any measure of success in programming.
>hope you realize that displacement, on your part, is not pretty.
That's a very nice attempt. Unsuccessful, but very nice indeed.
"If you ever think Narue is wrong, remember one thing: She's not. ":lol:
![]() |
Similar Threads
Other Threads in the C Forum
- Previous Thread: MFC dialog box's questions
- Next Thread: need Recursion help
| Thread Tools | Search this Thread |
adobe ansi api array arrays asterisks binarysearch calculate centimeter char convert copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax directory dynamic fflush file fork forloop frequency getlasterror givemetehcodez graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators infiniteloop initialization interest kernel km linked linkedlist linux linuxsegmentationfault list lists locate logical_drives match matrix microsoft motherboard multi mysql number open opendocumentformat opensource owf pattern pdf performance pointer pointers posix power problem probleminc program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling scripting segmentationfault send sequential shape socketprograming stack standard string strings structures systemcall testautomation turboc unix user variable voidmain() wab win32api windows.h






