Make a progfileCodeCheck.c with the contents
// Student/instructor code
extern int atoi(const char*);
int main(int argc, char *argv[]) {
int arg = atoi(argv[1]);
if (arg == 1) print_T(FUN(ARGS));
...
}
where T is derived from the return type (print_int, print_double, print_char_pointer, print_bool, print_char, ...). If the return type is something else, the instructor/student code must contain a function print_T.
Make a progfileCodeCheck.c with the contents
where T is derived from the return type (
print_int,print_double,print_char_pointer,print_bool,print_char, ...). If the return type is something else, the instructor/student code must contain a function print_T.