Hi, I'm on ubuntu.
I would like to put contents on packet with the operator <<.
But it doesn't seems to work.
sf::Packet packet;
for (unsigned int i = 0; i < texPaths.size(); i++) {
packet<<texPaths[i];
if (i != texPaths.size() - 1)
packet<<"*";
}
std::string message;
packet>>message;
std::cout<<"message : "<<message<<std::endl;
Is it normal that only the first std::string of my std::vector si putted into the packet ?