Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 c++ 读取 xml 文件时,注释掉的标签也会读取,我想忽略它,即:
<tag>-------</tag> <tag>-------</tag> <!--<tag>-------</tag> --> <!-- <tag>-------</tag> <tag>-------</tag> <tag>-------</tag> --> <tag>-------</tag>