errata
来自「《Big C++ 》Third Edition电子书和代码全集-Part1」· 代码 · 共 27 行
TXT
27 行
29.2 (says pg 15)
-----------------
DOMNode* root = doc.getDocumentElement();
doc is a ptr, right?
pg 18
-----
You switch the object name, attributes to nodes
DOMNamedNodeMap* attributes = price_element->getAttributes();
. . .
int i = . . .;
// A value between 0 and attributes->getLength() - 1
DOMNode* attribute_node = nodes->item(i);
. . .
29.3, pg 25
-----------
You can also set element attributes with the setAttribute function:
^^^^
Did you want that there?
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?