Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
|
#include <iostream>
#include <string>
Namespaces | |
namespace | dsac |
Code from the zyBook "Data Structures and Algorithms in C++" by Goodrich/Tamassia/Mount/Goldwasser. | |
namespace | dsac::recursion |
Code from the chapter "Recursion". | |
Functions | |
void | dsac::recursion::draw_line (int tickLength, int tickLabel=-1) |
Draws a line with the given tick length, followed by an optional label. | |
void | dsac::recursion::draw_interval (int centralLength) |
Draws a ruler interval around a central tick length. | |
void | dsac::recursion::draw_ruler (int nInches, int majorLength) |