| 1 |
#include"bob.h" |
| 2 |
#include"genbob.h" |
| 3 |
#include<string.h> |
| 4 |
#include<stdio.h> |
| 5 |
|
| 6 |
int main(void) { |
| 7 |
if(strcmp("bob", get_bob()) == 0) { |
| 8 |
printf("Bob is indeed bob.\n"); |
| 9 |
} else { |
| 10 |
printf("ERROR: bob is not bob.\n"); |
| 11 |
return 1; |
| 12 |
} |
| 13 |
return 0; |
| 14 |
} |