include iostream include stree using namespace std int main STree tree

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#include <iostream>
#include "stree.h"
using namespace std;
int main() {
STree tree;// = new STree();
tree.insertNode(0, "+", 1);
tree.insertNode(1, "2", 2);
tree.insertNode(1, "*", 3);
tree.insertNode(3, "2", 4);
tree.insertNode(3, "2", 5);
cout << tree.notacjaPolska();
return 0;
}