Answer to Question #1673 in C++ for Nathan

Question #1673
I'm getting an error that states "undefined reference" I'm new to c++, so I don't know for sure but I think the problem is in the following snippet of code can you tell me how to fix it? #include <iostream> struct Stack; void initialize(Stack); bool push(Stack,int); bool isEmpty(Stack); int pop(Stack); using namespace std; struct Stack { int data[100]; int top; }; int main() { Stack s; int number=0; initialize(s); cin>>number; push(s,number); number=pop(s);} //other methods
1
Expert's answer
2011-03-02T05:51:29-0500
We need whole program code to answer to your question. Most probably some libraries you are linking are undefined.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal