You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
347 B
25 lines
347 B
#include <stdio.h>
|
|
|
|
extern int tlib7func();
|
|
|
|
#ifdef __CLASSIC_C__
|
|
int main()
|
|
{
|
|
int ac;
|
|
char* av[];
|
|
#else
|
|
int main(int ac, char* av[])
|
|
{
|
|
#endif
|
|
if (ac > 1000) {
|
|
return *av[0];
|
|
}
|
|
printf("This is T9. This one should work.\n");
|
|
|
|
if (tlib7func() != 7) {
|
|
fprintf(stderr, "Something wrong with T7\n");
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|