diff --git a/text.h b/text.h index da16325..bbf4108 100644 --- a/text.h +++ b/text.h @@ -1,7 +1,7 @@ -#pragma once +#ifndef TEXT_H_INCLUDED +#define TEXT_H_INCLUDED #include -const size_t SCREEN_WIDTH = 80; -const size_t MAX_ASTERISK = SCREEN_WIDTH - 3 - 1; +void show_histogram_text (const std::vector& bins,size_t MAX_ASTERISK, size_t bin_count); -void show_histogram_text(const std::vector& bins); +#endif