All pastes #736589 Raw Edit

Lastwebpage

public cpp v1 · immutable
·published 2007-10-14 17:47 UTC
rendered paste body
PrintOutNode(node,0);emplate <typename TKey, typename TData, int SizeParam, bool UniqueKeys>void CTestTree<TKey, TData, SizeParam, UniqueKeys>::PrintOutNode(const TNode& node){	wchar_t strOut[80];	strOut[0]=L'\0';	swprintf(strOut,79,L"Parent:%u Info: 0x%02x",node.Parent, node.Info);	TNode tempnode;	for(unsigned int n=0;n<=(node.Info & cKeyCountMask);n++)	{		swprintf(strOut,79,L"Child:%u Handle:%u",n,node.Child[n]);		Read(node.Child[n],0,sizeof(TNode),tempnode);		PrintOutNode(tempnode);//Rekursion	}}AUSGABE:strOut	0x0012ec14 "Parent:0 Info: 0x01"	wchar_t [80]strOut	0x0012ec14 "Child:0 Handle:2260440"	wchar_t [80]strOut	0x0012ea24 "Parent:2260576 Info: 0x83"	wchar_t [80]//erste Ausgabe nach Rekursionsaufruf