I keep getting errors in the code its saying:
assignment from incompatible pointer type,
and also dereferencing pointer to incomplete data
here is a screenshot
and i am using unix but windows also works
http://wikisend.com/download/130924/Screen Shot 2013-05-13 at 11.28.15 PM.png
so for example in function show you have a line that has head = head->next
and that is where the error is pointing to..
There is no error, and same code has been used in the previous program also.
Try to run it on Windows.
I got it to run. I was doing some random testing on it and I was trying to do this :
showpush 1push 2push 3push 4showpush 5push 6push 7push 8showpopshowpoppush 9poppush 10poppoppoppoppoppoppoppopshowpopshowpush 11push 12showquit
it seems i get a segmentation default i cant figure out why, is it because there is a certain limit but there is no define or size?
http://wikisend.com/download/996236/Screen Shot 2013-05-14 at 4.19.16 PM.png
here is a screenshot, it does all the assignments but it stops after the push 10 and the eight pops. it does not get to the quit assignment.
I got it to work thank you for your help