I don´t know if it could be for not having a “main” function
Well, yes, that’s kind of a problem. Each program must have a main()
function. Where else would the execution start from?
how can i call the function “RegistrarUnaInclusion” to make it work?
RegistrarUnaInclusion
is a member function of class ListaCircular
. Therefore, you need an instance (an object) of that class to invoke that member function on:
ListaCircular l;
l.RegistrarUnaInclusion();
solved How to call a function in C++