I am attemping to read data from a file into a map. The only examples I find are strings hard coded into a Map.
using namespace std;
typedef map<string,unsigned> myMap;
//int i = 0;
for (int i = 0; i < 300; i++)
cin >> word;
cout << s[i]->first = word;
I have no idea what I'm doing.....