31
General / Re: pointer erase std::vector
« on: March 02, 2013, 10:05:38 am »
yup, when i add return; after clients.erase(it); program work fine
thanks for help
thanks for help
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
D:\Documents and Settings\Hinc\Pulpit\html\Serwer\src\Server.cpp:13:43: error: request for member 'Socket' in 'client', which is of pointer type 'Client*' (maybe you meant to use '->' ?)
D:\Documents and Settings\Hinc\Pulpit\html\Serwer\src\Server.cpp:19:40: error: request for member 'Socket' in 'client', which is of pointer type
..\CodeBlocks\MinGW\SFML2\include/SFML/Config.hpp:152:9: error: ISO C++ 1998 does not support 'long long' [-Wlong-long]
..\CodeBlocks\MinGW\SFML2\include/SFML/Config.hpp:153:9: error: ISO C++ 1998 does not support 'long long' [-Wlong-long]