Could someone help me write a short program to determine the value at the bottom entry in a stack w/o changing the stack?
Thanks, I'm a bit over my head in an algorithms course.
This stack has a...
Type: Posts; User: puckett_m
Could someone help me write a short program to determine the value at the bottom entry in a stack w/o changing the stack?
Thanks, I'm a bit over my head in an algorithms course.
This stack has a...
Found my problem, sorry for the bother here.
I misstated the error message:
admiral% make
gcc -c stack_main.c
gcc -c stack.c
gcc stack_main.o stack.o -o stack_prog
Undefined first referenced
symbol ...
I am trying to compile a makefile program with a stack.
Here's all the code
makefile
# makefile for stack_prog
stack_prog: stack_main.o stack.o
gcc stack_main.o stack.o -o...
Good morning, here's my problem. I have an assigment to create a list and do things to it like push, pop, count, printlist and delete item from list. Everything works well but I can't get the...
OK, I'm glad you guys are there. Here's my problem, I have been working with Sue Ballew in St. Louis. I have this stack program that is supposed to do a bunch of stuff, push, pop, count, print list,...
Thanks so much for all ypur help, i got it!
Quzah, I know you because Sue and I have worked to gether a lot.
What kind of check are your referring to, I was trying to use if lv == NULL but it didn't work
this assignment is due tonite, i have a small glitch
here's the code:
#include <stdio.h>
#include <stdlib.h>
struct node {
int value;
struct node *next;
};