uva-cs / pdr

A repo for a Program and Data Representation university-level course
Other
91 stars 228 forks source link

Fixes to lab 5 code and lab 6 instructions (old, see #35) #33

Closed adeet1 closed 5 years ago

adeet1 commented 5 years ago

This is an old pull request, which contains a polluted commit history due to git rebase. The newer, cleaner version is #35.

Commit Summary:

1ce74a2 The code is more organized if methods and their private helpers are paired together [e.g. remove()], and prevents students from having to scroll up and down excessively. To make ordering consistent (defining a method first, and then its private helper second), I moved printTree(root) before its helper.

f58af50 This fixes small typos, like implemention --> implementation, particualr --> particular, etc.

102bd5a This fixes compiler errors "use of undeclared identifier cout" and likewise for "endl".

adeet1 commented 5 years ago

I apologize for the duplicate commits; I was attempting to incorporate upstream changes into my fork using git rebase instead of git merge.