I am writting a C++ program which checks if some words exist in Catalan, so I have a vector with the Catalan dictionary:
const vector<string> dict={"aaron","ababol","abac","abaca","abacallanada","abacallanava","abacas","abacial", ... ,"zum-zum","zur","zuric","zwitterio"};
The problem is that the dictionary has 107776 entries, so when I attempt to compile the file:
g++ -Wall file.cc -std=c++0x -o file.exe
it does nothing during a while and then Windows says that it isn't responding and closes it.
How can I compile it? Is there a better way of storing this type of data (arrays, ...)?