state pattern C++ It just will not work

Z

Zeh Mau

Hi there,

I have tried to implement the state pattern
but the linker raises the error: can't resolve symbols.

For me it is very frustrating, because I tried several hours to solve
this problem.

Is anybody willing to analyze my code what is going wrong.

It seems I have the chicken egg problem: Who was first the chicken or
the egg.

This seems to be the problem, but from my point of view,
this is very common when designing a problem.

I appreciate your comments.

Zeh Mau
 
G

Gert-Jan de Vos

Hi there,

I have tried to implement the state pattern
but the linker raises the error: can't resolve symbols.

I suggest you have a look at the wikipedia entry for "State pattern".
It has a quite nice example in C++ that should cover your needs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,431
Latest member
ElyseG3173

Latest Threads

Top