c++ - The source code I saw on the Internet, such as str == "#Connected#", many are surrounded by ##. What does it mean? Please give me some advice.
世界只因有你
世界只因有你 2017-05-19 10:47:46
0
1
686

bool Chat::detectingInstruct(string str)
{

if(str == "#Connected#")
{
    if(isServer && RecSocket != NULL)
    {
        if(AllName.size() == 0)
        {
            RecSocket->SendData("#NoID#");
        }
        string newName = SetName();
        NameInRoom.push_back(newName);
        ShowName();
        Room->Send("#ClearNameInRoom##end#");
        for(vector<string>::iterator itr = NameInRoom.begin();
            itr != NameInRoom.end();itr++)
            Room->Send("#ShowName#" + *itr + "#end#");
        RecSocket->SendData("#GetName#" + newName + "#end#");
    }
    return true;
}
世界只因有你
世界只因有你

reply all(1)
迷茫

This. . . First let me confirm if this is C++/CLI mode?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template