(1) Using the virtual keyword in derived classes is not necessary.
(2) For the difference between the first two, look up abstract classes.
In line 13 I have a class, not a function. The last one is not syntactically correct.
but montecarlo funcion template<class K> unsignedint montecarlo(unsignedint ,AbsFiguraT<K> & )
want an AbsFiguraT but I have only an AbsFigura!!!
Can't I downgarde from AbsFiguraT to AbsFigura? I need AbsFiguraT because into there there is a function that use Punto<T> so all the class must be templated...
Can't I use a template method inside a non-template class? (T was not declarde in this scope?)