I'm having trouble figuring out why the console is not printing out the ASCII art.
Side note, there might be a few other mathematical issues as well as the fact that I'm purposely not using the <iomanip> library, but I can work those out later.
What is the definition of border? It's not shown in your code snippet.
As the article linked above states, cout is limited to signed characters (0-127).
Extended ASCII (128-255) has line drawing characters.
See 179-218 here: https://stackoverflow.com/questions/13826781/java-extended-ascii-table-usage
If you try cout extended ASCII, the result is undefined behavior.
Use wide characters instead.
I think I understand what you mean. border and fill are already defined as 'X' and '*' by default when they are called.
1 2 3 4 5 6 7 8 9
// ...
void Draw() const;
void Summary() const;
private:
int base = 3;
char border = 'X';
char fill = '*';
};
The issue is that the program isn't drawing anything to the terminal when I call the Draw() function. I know all my syntax is correct, but something about my loops just int working, and I cant find it.
I've spent some time to rework the loops, and now I've arrived at different issue.
I'm trying to fill the "roof" of the house I'm trying to print, but I can only get the program to draw 1 filler character or a fixed amount of them and its breaking the pattern. Any ideas?