You cannot assign arrays like that. You have 2 options:
1) Use strings instead of char arrays:
1 2 3 4 5 6
#include <string>
...
typedefstruct nodo_actividad{
string nombre; //<- use a string instead of a char array.
struct nodo_actividad *siguiente, *anterior;
} Actividad;
or
2) Use strcpy to copy the string data:
1 2
// nueva_act->nombre = actividad_ingresada; <- works with strings, but not char arrays
strcpy( nueva_act->nombre, actividad_ingresada ); // <- works with char arrays, but not strings
On a side note... you are doing weird C things (typedefstruct) that are unnecessary in C++. But whatever.
I already use the strcpy function however I also create a delete function, so when I look for the node that has the activity I want to eliminate it run as nothing happened so thats why Im looking for some answers