Ok, here's my code:
string connect;
cout<<"enter node, then linked nodes";
cin>>node;
while(node != 0)
{
cin.get( connect );
adjList.insert(make_pair(node,connect));
cin>>node;
}
The problem at hand is that the compiler (Dev C++) keeps telling me :
21 no matching function for call to `std::basic_istream<char, std::char_traits<char> >::get(std::string&, char)'
referring to cin.get( connect );
Can anyone point out what the heck I'm missing right now??? :mad:
If you need more code let me know.