ok... i'm getting an error message what i can't understand.
this is my first time using vectors so i'm probley doing it wrong.
Now i get the errorCode:struct NC_SOCKET_ID{ int _id; }; struct NC_SOCKET_STR{ ... NC_SOCKET_ID _id; ... }; vector<NC_SOCKET_STR> _SOCKET_LIST;
<>
no match for `NC_SOCKET_ID & == NS_SOCKET_ID&'
<>
at this line in my code.
Am i using the vector wrong or can it not be used like this?Code:if(_SOCKET_LIST[n]._id == id) ...
Compiler: Dev-c++ 4.9.7.0