From: sparky4 Date: Mon, 22 Jun 2015 19:16:08 +0000 (-0500) Subject: wwww ftest test~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=bea59c8e6edf42e095621baa5cad30bf3fbe8d36;p=16.git wwww ftest test~ --- diff --git a/FTEST.EXE b/FTEST.EXE index 15bcc371..dd77f6a6 100644 Binary files a/FTEST.EXE and b/FTEST.EXE differ diff --git a/src/FTEST.C b/src/FTEST.C index 9641ba11..3ec8940a 100644 --- a/src/FTEST.C +++ b/src/FTEST.C @@ -43,27 +43,33 @@ void main(int argc, char *argv[]) printf("Character: "); scanf("%c", &c); + if(*argv[1]!=NULL) switch(*argv[1]) { - case 0: - t=0; - w=14; - break; - case 1: - t=1; - w=8; - break; - case 2: - t=2; - w=8; - break; - case 3: - t=3; - w=16; - break; - default: - t=3; - w=16; + case 0: + t=0; + w=14; + break; + case 1: + t=1; + w=8; + break; + case 2: + t=2; + w=8; + break; + case 3: + t=3; + w=16; + break; + default: + t=3; + w=16; + } + else + { + t=3; + w=16; }