Optimalistie
authorChris <mail@chriskamphuis.com>
Mon, 9 Feb 2015 11:05:16 +0000 (12:05 +0100)
committerChris <mail@chriskamphuis.com>
Mon, 9 Feb 2015 11:05:16 +0000 (12:05 +0100)
ass2/chris/sws1-s4109503-s4202015/exercise1b.c

index 251e693..f1c9f23 100644 (file)
@@ -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;
 }