www.pudn.com > DTreebydhm.rar > DTree.plg
Build Log
--------------------Configuration: DTree - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP93.tmp" with contents [ /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Debug/DTree.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c "D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp" "D:\Microsoft Visual Studio\MyProjects\DTree\Node.cpp" ] Creating command line "cl.exe @C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP93.tmp" Creating temporary file "C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP94.tmp" with contents [ kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/DTree.pdb" /debug /machine:I386 /out:"Debug/DTree.exe" /pdbtype:sept ".\Debug\DecisionTree.obj" ".\Debug\Node.obj" ".\Debug\Stdafx.obj" ] Creating command line "link.exe @C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP94.tmp"Output Window
Compiling... DecisionTree.cpp d:\microsoft visual studio\myprojects\dtree\decisiontree.h(8) : error C2236: unexpected 'class' 'DecisionTree' d:\microsoft visual studio\myprojects\dtree\decisiontree.h(8) : error C2059: syntax error : ')' d:\microsoft visual studio\myprojects\dtree\decisiontree.h(9) : error C2143: syntax error : missing ';' before '{' d:\microsoft visual studio\myprojects\dtree\decisiontree.h(9) : error C2447: missing function header (old-style formal list?) D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(4) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(6) : error C2065: 'root' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(6) : error C2440: '=' : cannot convert from 'class Node *' to 'int' This conversion requires a reinterpret_cast, a C-style cast or function-style cast D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(7) : error C2065: 'numOfIns' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(8) : error C2065: 'numOfAttr' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(9) : error C2065: 'trainingSet' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(10) : error C2065: 'weight' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(11) : error C2065: 'used' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(12) : error C2065: 'numOfNodes' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(13) : warning C4508: 'DecisionTree' : function should return a value; 'void' return type assumed D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(15) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(16) : error C2084: function 'int __cdecl DecisionTree(void)' already has a body D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(17) : error C2065: 'DeleteTree' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(20) : error C2541: delete : cannot delete objects that are not pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(25) : error C2541: delete : cannot delete objects that are not pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(30) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(32) : error C2673: 'GetRoot' : global functions do not have 'this' pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(32) : error C2228: left of '.root' must have class/struct/union type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(35) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(37) : error C2673: 'GetnumOfIns' : global functions do not have 'this' pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(37) : error C2228: left of '.numOfIns' must have class/struct/union type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(40) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(42) : error C2673: 'GetnumOfAttr' : global functions do not have 'this' pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(42) : error C2228: left of '.numOfAttr' must have class/struct/union type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(45) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(47) : error C2673: 'SetnumOfIns' : global functions do not have 'this' pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(47) : error C2228: left of '.numOfIns' must have class/struct/union type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(50) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(52) : error C2673: 'SetnumOfAttr' : global functions do not have 'this' pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(52) : error C2228: left of '.numOfAttr' must have class/struct/union type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(55) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(57) : error C2673: 'GetnumOfNodes' : global functions do not have 'this' pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(57) : error C2228: left of '.numOfNodes' must have class/struct/union type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(60) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(61) : error C2373: 'DeleteTree' : redefinition; different type modifiers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(62) : error C2248: 'leftchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(63) : error C2065: 'deleteTree' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(63) : error C2248: 'leftchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(65) : error C2248: 'rightchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(15) : see declaration of 'rightchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(66) : error C2248: 'rightchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(15) : see declaration of 'rightchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(115) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(182) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(186) : error C2065: 'sort' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(193) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(207) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(208) : error C2373: 'sort' : redefinition; different type modifiers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(244) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(274) : error C2027: use of undefined type 'DecisonTree' d:\microsoft visual studio\myprojects\dtree\node.h(16) : see declaration of 'DecisonTree' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(276) : error C2673: 'BuildTree' : global functions do not have 'this' pointers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(276) : error C2227: left of '->root' must point to class/struct/union D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(276) : error C2065: 'GenerateTree' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(280) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(281) : error C2373: 'GenerateTree' : redefinition; different type modifiers D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(289) : error C2248: 'isLeaf' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(12) : see declaration of 'isLeaf' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(290) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(291) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(292) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(293) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(314) : error C2248: 'isLeaf' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(12) : see declaration of 'isLeaf' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(315) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(316) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(336) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(338) : error C2065: 'gain' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(340) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(354) : error C2106: '=' : left operand must be l-value D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(354) : error C2106: '=' : left operand must be l-value D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(354) : error C2106: '=' : left operand must be l-value D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(354) : error C2106: '=' : left operand must be l-value D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(354) : error C2106: '=' : left operand must be l-value D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(354) : error C2106: '=' : left operand must be l-value D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(354) : error C2106: '=' : left operand must be l-value D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(356) : error C2248: 'isLeaf' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(12) : see declaration of 'isLeaf' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(365) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(367) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(368) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(372) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(372) : error C2065: 'splitpoint' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(372) : error C2109: subscript requires array or pointer type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(373) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(374) : error C2248: 'isLeaf' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(12) : see declaration of 'isLeaf' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(375) : error C2248: 'leftchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(375) : error C2109: subscript requires array or pointer type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(375) : error C2440: '=' : cannot convert from 'int' to 'class Node *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(376) : error C2248: 'rightchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(15) : see declaration of 'rightchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(376) : error C2109: subscript requires array or pointer type D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(376) : error C2440: '=' : cannot convert from 'int' to 'class Node *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(382) : error C2653: 'DecisionTree' : is not a class or namespace name D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(386) : error C2440: 'initializing' : cannot convert from 'int' to 'class Node *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(387) : error C2248: 'isLeaf' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(12) : see declaration of 'isLeaf' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(389) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(389) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(390) : error C2248: 'leftchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(392) : error C2248: 'rightchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(15) : see declaration of 'rightchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(394) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(397) : error C2027: use of undefined type 'DecisonTree' d:\microsoft visual studio\myprojects\dtree\node.h(16) : see declaration of 'DecisonTree' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(403) : error C2248: 'isLeaf' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(12) : see declaration of 'isLeaf' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(404) : error C2248: 'value' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(10) : see declaration of 'value' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(405) : error C2248: 'attribute' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(407) : error C2248: 'leftchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(408) : error C2248: 'leftchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(409) : error C2248: 'rightchild' : cannot access private member declared in class 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(15) : see declaration of 'rightchild' D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(409) : fatal error C1003: error count exceeds 100; stopping compilation Node.cpp D:\Microsoft Visual Studio\MyProjects\DTree\Node.cpp(5) : error C2533: 'Node::Node' : constructors not allowed a return type D:\Microsoft Visual Studio\MyProjects\DTree\Node.cpp(9) : error C2065: 'depth' : undeclared identifier D:\Microsoft Visual Studio\MyProjects\DTree\Node.cpp(15) : error C2511: 'Node::Node' : overloaded member function 'void (double,int,int)' not found in 'Node' d:\microsoft visual studio\myprojects\dtree\node.h(8) : see declaration of 'Node' D:\Microsoft Visual Studio\MyProjects\DTree\Node.cpp(34) : error C2065: 'attibute' : undeclared identifier Ö´ÐÐ cl.exe ʱ³ö´í.Results
DTree.exe - 1 error(s), 0 warning(s)