So, I have a class and in that class I have many methods (or functions or whatever you call it in english).
It's suposed to create a linked list of char arrays. One of the methods inserts stuff in the linked list (from a file, but that's working fine) and another method would use the words on the list.
The method that fills the list is working fine and the words are printed correctly.
My problem is that when I try to use the linked list in another method it shows up as empty.
I'm declaring CLista Texto right in the begining (like a global variable) so problably that's why it can use the list. But how do I do so that I can take the content from one method to the other?