Posts by manatttta • 111 points
1 post
-
1
votes3
answers4033
viewsA: Undefined reference compiling with g++
Since this is a class template, you have to put the implementation of the functions in the pilha.h, so that whenever you enter a new object, the compiler knows how to interpret the template and…