Hi,
I am developing a variation of Larry's script 11.6 and am having trouble understanding how to apply the pointers bubble sort in my context.
In a nutshell, my application reads in lines of ordinary text from a small .txt file I created. I then read the file line by line and then parse each line for words. I store the words in a struct:
/* Define the structure. */
struct word_store
{
char the_word[WORD_SIZE];
int counter;
struct word_store *next;
struct word_store *previous;
};
/* Use typedef to create an alias. */
typedef struct word_store ws;
At the moment I am