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.
我正在尝试使用 Gumbo Parser 来获取特定类型的所有节点 - 例如 HTML 文档中的所有<p></p>节点或所有<a href...></a>节点。
<p></p>
<a href...></a>
我的函数原型如下:
list<GumboNode*> GetAllNodesOfType(GumboNode* root, <required type of nodes> )
我应该用什么代替第二个参数<required type of nodes>?
<required type of nodes>