Skip to content

anonymous /gist:6105923
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
//An istream is passed in to the function as an argument so we don't need to worry about generating it. Referred to by "in".
string line; char key; string value; istringstream iss;
while (in.good()) {
getline(in,line);
iss.str(line);
iss >> key;
iss >> value;
codeMap[key] = value;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.