STUDY GUIDE > University of Colorado, Boulder - CSCI 2270driver.cpp

Tip: type at least 2 characters to see suggestions.

#include <iostream>#include "BST.hpp"using namespace std;int main (int argc, char* argv[]){cout<<"Creating tree"<<endl;BST tree(5);tree.addNode(2); //left child to 5tree.addNode(1); //left child to 1tree.addNode(4); //right child to 2tree.addNode(7); //right child to 5tree.addNode(10); //right child of 7tree.addNode(8); // left child of 10tree.addNode(6); // left child of 7cout<<"----------------I ...[Show More]

Access Full Document
Instant download
Preview 1 out of 1 pages
University of Colorado, Boulder - CSCI 2270driver.cpp document preview
Purchase this document to unlock the blurred part and the rest of the document

Unlock Now

Reviews( 0 )

Access this Document

$7.00

Buy Now
Instant download
13
1

Category:STUDY GUIDE
Number of pages:1
Language:English
Last updated:5 years ago
Downloads:1
Views:13

Related documents

Get more on STUDY GUIDE »