From: Chris Date: Mon, 9 Feb 2015 11:05:16 +0000 (+0100) Subject: Optimalistie X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=f1b309d80d6308072cab0d0416883ee0508a3d1f;p=sws1-1415.git Optimalistie --- diff --git a/ass2/chris/sws1-s4109503-s4202015/exercise1b.c b/ass2/chris/sws1-s4109503-s4202015/exercise1b.c index 251e693..f1c9f23 100644 --- a/ass2/chris/sws1-s4109503-s4202015/exercise1b.c +++ b/ass2/chris/sws1-s4109503-s4202015/exercise1b.c @@ -6,8 +6,7 @@ int main(){ char buffer = 0; do{ fread(&buffer, 1, 1, fp); - printf("%i, %u, %#x",buffer, buffer, buffer); - printf("\n"); + printf("%i %u %#x \n",buffer, buffer, buffer); } while(buffer != 42); return 0; }