CS 70

Phase 1: HashSet<T> Stubs

To be able to test your code before you have everything written, it's helpful to have made stubs. We'll implement these stubs over the remaining phases.

Let's Go!

In hashset.hpp, write…

  • Goat speaking

    Do we have to do this again? Sure, I can make a bunch of stubs, and it's good that I know how. But I'm not really learning anything new by doing it yet again one more time.

  • LHS Cow speaking

    But what about the joy of starting from a blank slate?

  • Goat speaking

    Meh. Happier to not have makework.

  • LHS Cow speaking

    Okay.

We've made stubs for all the functions in the HashSet interface, and provided declarations in the header.

Run make

Just to feel like you've done something, run make. Everything should build without warnings, but nothing actually works yet.

(When logged in, completion status appears here.)