例子如下:
mapm_allSkakFilepath; auto itpath = m_allSkakFilepath.find(skaPaths.at(n).c_str()); if (itpath !=m_allSkakFilepath.end()) { m_allSkakFilepath[skaPaths.at(n).c_str()] = false; } else { m_allSkakFilepath[skaPaths.at(n).c_str()] = true; }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)