Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Maps in C++

Name: Anonymous 2008-01-06 14:23

Anyone any good with how to access a map in C++? Any simple tips or pointers to decent websites for help would ace.

Name: Anonymous 2008-01-06 15:46


>>7


Yeah I posted >>4 and i'm the OP, I've tried the find method, only prob is my data type is a struct, so what i'm trying to do is access this 'userName' variable from the map ....

definetype struct{
string userName;
string hostName;
}

map<int, clientInfo>

I'm maybe being quite stupid, but i'm having trouble getting to that userName variable.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List