You may be used to your terminal being white text on a black background (or some other two-tone scheme of your choosing). But

You may be used to your terminal being white text on a black background (or some other two-tone scheme of your choosing). But most modern terminals can show as many colors as your monitor! In this assignment, we’ll write a Color class that allows us to instance colors and apply them to text – first with a colorize method, then (in the first bonus) by just including the color object in the stream similar to stream manipulators like std::hex.

But wait, there’s more: A second bonus lets you practice reading a text file in C++ (and colorizing the lines). And a multi-option extreme bonus gives you the chance to define a variety of math operators for colors.


Buy plagiarism free, original and professional custom paper online now at a cheaper price. Submit your order proudly with us



Essay Hope