I think you forgot braces (the body) in the constructor
Tree::Tree(int startBranches, int startLeaves, float startHeight):
branches (startBranches),
leaves (startLeaves),
height (startHeight) {}
It worked, great! Thank you! Why do the curly braces have to be in the constructor?
Because a constructor needs a body.
Right. A constructor is just like any function. All functions need a body.