Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
Loading...
Searching...
No Matches
Namespaces | Functions
ruler.h File Reference
#include <iostream>
#include <string>
Include dependency graph for ruler.h:
This graph shows which files directly or indirectly include this file:

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)