Skip to content

Commit e7ee6f4

Browse files
committed
i in banner
1 parent abb4150 commit e7ee6f4

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Fonts/banner/banner.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,17 +366,18 @@ class Banner : public Fonts
366366
}
367367
*/
368368

369-
/*
369+
370370
char **i()
371371
{
372-
char **character = getCharGrid(ROWS,COLS);
372+
char **character = getCharGrid(6,3);
373+
374+
character[0][1] = character[2][1] = character[2][0] = character[3][1] = character[4][1] = character[5][0] = character[5][1] = character[5][0] = character[5][1] = character[5][2] = '#';
373375

374-
//Enter the character grid in ROWS X COLS
375376

376377
return character;
377378
}
378379

379-
*/
380+
380381

381382
/*
382383
char **j()
@@ -388,7 +389,7 @@ class Banner : public Fonts
388389
return character;
389390
}
390391
391-
*/
392+
392393
393394
/*
394395
char **k()

example.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using namespace ascii;
55

66
int main()
77
{
8-
Ascii a = Ascii(straight);
9-
a.print("JLK");
8+
Ascii a = Ascii(banner);
9+
a.print("i");
1010
return 0;
1111
}

0 commit comments

Comments
 (0)