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