From 2345f4fa0b3fc2f968605a855c9249bc2546d739 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 13 Feb 2012 22:03:16 -0500 Subject: [PATCH] Adding back in some comments for line number matchiness --- ex7.c | 2 +- ex8.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ex7.c b/ex7.c index 074acc6..b6e9cfe 100644 --- a/ex7.c +++ b/ex7.c @@ -20,7 +20,7 @@ int main(int argc, char *argv[]) printf("That is only a %e portion of the universe.\n", part_of_universe); - + // this makes no sense, just a demo of something weird char nul_byte = '\0'; int care_percentage = bugs * nul_byte; printf("Which means you should care %d%%.\n", diff --git a/ex8.c b/ex8.c index b7efc4b..0b42543 100644 --- a/ex8.c +++ b/ex8.c @@ -10,6 +10,8 @@ int main(int argc, char *argv[]) 'S', 'h', 'a', 'w', '\0' }; + // WARNING: On some systems you may have to change the + // %ld in this code to a %u since it will use unsigned ints printf("The size of an int: %ld\n", sizeof(int)); printf("The size of areas (int[]): %ld\n", sizeof(areas));