Posts by Rafael Meireles • 1 point
1 post
-
0
votes1
answer362
viewsQ: Problems with c++ function template (Reference not defined for class methods)
Hello! I’m trying to compile the following code: main: #include "lista.h" using namespace std; int main(){ no<int> *n; n = new no<int>(4); n->setProx(new no<int>(5)); cout…