Data types to read and hold a "dictionary"
What data types do you suggest to use for a dictionary?
I've tried vectors of structures that contain two char arrays, but it doesn't seem to be a very good solution.
What is the best way to read in dictionary files?
I mean when you have a file that contains the word in one language, then some strange character in the middle and then the word in the second language and a newline, how would be the best way to read it in? I've tried reading it in by reading the whole thing with ReadFile() (Win32 API) and then going it through by checking all chars and storing them somewhere.
It could also be done by reading some certain amount of chars (maybe 256) when I run out of them in my loop.