calculus87
Thread Starter
- Joined
- Sep 4, 2003
- Messages
- 34
Okay, quick question.
I have a text file with a list of words. I need each word to become a variable. So for example, I have in the text file: word1, word2, word3. Now I import them into a vector<string>. Now is there any way for me to overload that vector so as to make each word that I imported become a variable?
I could then say something like
word1 + word2 * word3. where each of these words is of type double.
Okay, thanks for your time and effort
Sincerely,
Ronald
I have a text file with a list of words. I need each word to become a variable. So for example, I have in the text file: word1, word2, word3. Now I import them into a vector<string>. Now is there any way for me to overload that vector so as to make each word that I imported become a variable?
I could then say something like
word1 + word2 * word3. where each of these words is of type double.
Okay, thanks for your time and effort
Sincerely,
Ronald