-1

i have the following code
for(int index = 0; index < E; index++) {
char u, v;
int w;
fscanf(fp,"%s %s %d\n", &u, &v, &w);
graph.push_back( make_pair(w, make_pair(u-'A',v-'A') ) );
cout << u << endl;
cout << v << endl;
}
How do I make u and v in to strings and still m...