thank you. i used
nodo_Text-> = new char[MAX_TEXT];
it worked fine.
thank you very much.
__Dgc
Type: Posts; User: dgcampos
thank you. i used
nodo_Text-> = new char[MAX_TEXT];
it worked fine.
thank you very much.
__Dgc
but then i have a limited text width of 255, which is something i dont want, cause i am getting data from a stream, and this could be larger than 255 at the first line.
how can i copy from...
a have a struct like this :
struct nodo_text
{
int entero1;
char* texto;
nodo_text* SIGUIENTE;
};
i have a simple text file, which i read with fgets to get the text,...