File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -209,16 +209,22 @@ class Starwar : public Fonts
209
209
}
210
210
*/
211
211
212
- /*
212
+
213
213
char **P ()
214
214
{
215
215
char **character = getCharGrid ();
216
216
217
217
// Enter the character grid in ROWS X COLS
218
+ character[2 ][4 ] =character[1 ][4 ] = character[2 ][4 ] = character[0 ][1 ] = character[0 ][2 ] = character[0 ][3 ] = character[0 ][4 ] = character[0 ][5 ] = character[0 ][6 ] = character[5 ][2 ] = character[3 ][5 ] = character[3 ][4 ] = character[3 ][6 ]= ' _' ;
219
+ character[1 ][0 ] = character[2 ][0 ] = character[3 ][0 ] = character[4 ][0 ] = character[5 ][0 ] = character[2 ][8 ] = character[2 ][3 ] = character[4 ][3 ] = character[5 ][3 ] = ' |' ;
220
+ character[1 ][7 ] = ' \\ ' ;
221
+ character[0 ][0 ] =' .' ;
222
+ character[3 ][7 ] = ' /' ;
223
+ character[2 ][5 ] = ' )' ;
218
224
219
225
return character;
220
226
}
221
- */
227
+
222
228
223
229
/*
224
230
char **Q()
@@ -285,7 +291,7 @@ class Starwar : public Fonts
285
291
char **V()
286
292
{
287
293
char **character = getCharGrid();
288
-
294
+
289
295
//Enter the character grid in ROWS X COLS
290
296
291
297
return character;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ using namespace ascii;
5
5
6
6
int main ()
7
7
{
8
- Ascii a = Ascii (straight );
9
- a.print (" Z " );
8
+ Ascii a = Ascii (starwar );
9
+ a.print (" P " );
10
10
return 0 ;
11
11
}
You can’t perform that action at this time.
0 commit comments