Portál AbcLinuxu, 3. listopadu 2025 17:34
void LocalGameSocket::send(const std::string & data) {
list< Action> plan;
Action action;
char delimiter;
stringstream ss(data);
ss >> delimiter;
while (ss >> action) {
plan.push_back(action);
ss >> delimiter;
}
...
}
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.