OLD | NEW |
1 #include <stdio.h> | 1 #include <stdio.h> |
2 | 2 |
3 #include "inc.h" | 3 #include "inc.h" |
4 #include "include1.h" | 4 #include "include1.h" |
5 #include "include2.h" | 5 #include "include2.h" |
6 #include "include3.h" | 6 #include "include3.h" |
7 #include "deeper.h" | 7 #include "deeper.h" |
8 | 8 |
9 int main(int argc, char *argv[]) | 9 int main(void) |
10 { | 10 { |
11 printf("Hello from prog1.c\n"); | 11 printf("Hello from prog1.c\n"); |
12 printf("Hello from %s\n", INC_STRING); | 12 printf("Hello from %s\n", INC_STRING); |
13 printf("Hello from %s\n", INCLUDE1_STRING); | 13 printf("Hello from %s\n", INCLUDE1_STRING); |
14 printf("Hello from %s\n", INCLUDE2_STRING); | 14 printf("Hello from %s\n", INCLUDE2_STRING); |
15 printf("Hello from %s\n", INCLUDE3_STRING); | 15 printf("Hello from %s\n", INCLUDE3_STRING); |
16 printf("Hello from %s\n", DEEPER_STRING); | 16 printf("Hello from %s\n", DEEPER_STRING); |
17 return 0; | 17 return 0; |
18 } | 18 } |
OLD | NEW |