You're using
#include "glossary_demo.h"
which is basically injecting the contents of glossary_demo.h
into your code at compile-time. Your glossary_demo.h
file isn't valid C, which is why you're getting all those errors.
It sounds like really you want to load a text file at execution time, which is very different.
Jon Skeet
2010-10-02 15:31:45