0_0_2769760_11529.cpp:2: error: `import' does not name a type
0_0_2769760_11529.cpp:3: error: `import' does not name a type
0_0_2769760_11529.cpp:4: error: `import' does not name a type
0_0_2769760_11529.cpp:6: error: expected unqualified-id before "public"
0_0_2769760_11529.cpp:6: error: expected `,' or `;' before "public"
0_0_2769760_11529.cpp:48: error: ISO C++ forbids declaration of `List' with no type
0_0_2769760_11529.cpp:48: error: expected `;' before '<' token
0_0_2769760_11529.cpp:50: error: expected `:' before "Node"
0_0_2769760_11529.cpp:54: error: expected `:' before "void"
0_0_2769760_11529.cpp: In constructor `Node::Node(int, int)':
0_0_2769760_11529.cpp:51: error: `pay' is not a type
0_0_2769760_11529.cpp:51: error: request for member of non-aggregate type before '=' token
0_0_2769760_11529.cpp:52: error: `gain' is not a type
0_0_2769760_11529.cpp:52: error: request for member of non-aggregate type before '=' token
0_0_2769760_11529.cpp: In member function `void Node::addChild(Node)':
0_0_2769760_11529.cpp:55: error: `childs' undeclared (first use this function)
0_0_2769760_11529.cpp:55: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_2769760_11529.cpp: At global scope:
0_0_2769760_11529.cpp:59: error: expected `:' before "Node"
0_0_2769760_11529.cpp:60: error: ISO C++ forbids initialization of member `max'
0_0_2769760_11529.cpp:60: error: making `max' static
0_0_2769760_11529.cpp:60: error: ISO C++ forbids in-class initialization of non-const static member `max'
0_0_2769760_11529.cpp:63: error: expected `:' before "GameTree"
0_0_2769760_11529.cpp:67: error: expected `:' before "void"
0_0_2769760_11529.cpp:70: error: expected `:' before "void"
0_0_2769760_11529.cpp: In constructor `GameTree::GameTree(Node)':
0_0_2769760_11529.cpp:63: error: no matching function for call to `Node::Node()'
0_0_2769760_11529.cpp:45: note: candidates are: Node::Node(const Node&)
0_0_2769760_11529.cpp:50: note: Node::Node(int, int)
0_0_2769760_11529.cpp:64: error: `head' is not a type
0_0_2769760_11529.cpp:64: error: request for member of non-aggregate type before '=' token
0_0_2769760_11529.cpp: In member function `void GameTree::goFrom(Node, int, int)':
0_0_2769760_11529.cpp:46: error: `int Node::pay' is private
0_0_2769760_11529.cpp:71: error: within this context
0_0_2769760_11529.cpp:47: error: `int Node::gain' is private
0_0_2769760_11529.cpp:72: error: within this context
0_0_2769760_11529.cpp:46: error: `int Node::pay' is private
0_0_2769760_11529.cpp:73: error: within this context
0_0_2769760_11529.cpp:76: error: expected primary-expression before "node"
0_0_2769760_11529.cpp:76: error: expected `;' before "node"
0_0_2769760_11529.cpp:79: error: expected primary-expression before '}' token
0_0_2769760_11529.cpp:79: error: expected `;' before '}' token
0_0_2769760_11529.cpp:79: error: expected primary-expression before '}' token
0_0_2769760_11529.cpp:79: error: expected `)' before '}' token
0_0_2769760_11529.cpp:79: error: expected primary-expression before '}' token
0_0_2769760_11529.cpp:79: error: expected `;' before '}' token
0_0_2769760_11529.cpp: At global scope:
0_0_2769760_11529.cpp:81: error: expected unqualified-id at end of input
0_0_2769760_11529.cpp:81: error: expected `,' or `;' at end of input
|