--------------------------------------------
This is a direct example taken from Bjarne's book. I compile them using g++ compiler in UNIX. And get the error:
a.cpp:(.text+0xe): undefined reference to `Stack::push(char)'
a.cpp:(.text+0x13): undefined reference to `Stack::pop()'
Later I compiled them using Dev C++ and got the same error listed as "linker error".
As hamsterman wrote, you need to define your Stack.h functions in a Stack.cpp file. In a *.h file you just declare functions defined in a *.cxx file with the same name as *.h file.