#include #include "stack-le.h" #include "stack-ce.h" //-------------------------------------------- // Factory method //-------------------------------------------- Stack *Stack::create(TpStack op) { Stack *s; switch( op ) { case STACK_CE: s = new StackCE(); break; case STACK_LE: s = new StackLE(); break; default: std::cerr<<"\n Erro: Opcao ["<