【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.3.10.15 PropertyNode::pVal
Contents
ClassName
PropertyNode
AccessType
public
Name
pVal
Declaration
void *pVal
Remark
Examples
EX1
void PropertyNode_pVal_ex1() { Tree tr; TreeNode trN = tr.AddNode("node1",1); int nn = 1; int *pn = &nn; trN.pVal = (void*)pn; //Assign void pointer to tree node out_tree(tr); int nVal = *(int*)trN.pVal; printf("The value is %d\n", nVal); }
Description
Void pointer value of the node.
Header to Include
origin.h