Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}Darobat wrote:Well thats even more confusing...
|\
|%\
|%%\
|%%%\
|%%%%\
------------
The coordinates (0, 5) refer to a point exactly halfway across the first column and exactly halfway down the sixth row in the console. The coordinates will not extend beyond column #70 or row #20.
#define SCREEN_WIDTH 80
#define SCREEN_HEIGHT 25
No, but you can change what characters are drawn. See here for an example. You might notice some distortion on the bottom edge towards the left — this is perfectly acceptable..Cold Flame wrote:It is a console app and you cannot change where the characters are drawn.
They'll be large enough for the test data that I'll be using. I chose 70 and 20 to make it clear that people wouldn't have to worry about exceeding the default console dimensions. I could make it 79 and 24, but I like round numbers.Cold Flame wrote:Dude, I don't think 20 rows is enough. Better make it 40.
The default console is acctually 80 characters width and 25 characters height. So maybe those are better dimentions?
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}Users browsing this forum: No registered users and 0 guests