Quote Originally Posted by itsthemac View Post
Thanks! I had no idea about strdup. For some reason I just assumed malloc-ing strings was a faux pas, but I couldn't see any other way around this problem. cheers
Well, think about it... what is a string?
It is an array of characters. The only thing that makes it any different from any other array is the trailing 0 at the end.

Your first option is to use the array style declaration in your struct...
Code:
struct t_LList
  {  char text[100];
     t_LList* next; }
Also malloc() then strcpy() or strdup() (really just strcpy with malloc included) are perfectly legitimate ways of initializing a char* array as others have already shown you.