repositories
/
sws1-1415.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1e6dc
)
Optimalistie
author
Chris
<mail@chriskamphuis.com>
Mon, 9 Feb 2015 11:05:16 +0000
(12:05 +0100)
committer
Chris
<mail@chriskamphuis.com>
Mon, 9 Feb 2015 11:05:16 +0000
(12:05 +0100)
ass2/chris/sws1-s4109503-s4202015/exercise1b.c
patch
|
blob
|
history
diff --git
a/ass2/chris/sws1-s4109503-s4202015/exercise1b.c
b/ass2/chris/sws1-s4109503-s4202015/exercise1b.c
index
251e693
..
f1c9f23
100644
(file)
--- 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;
}