Name: Anonymous 2010-06-18 2:22
Give us your programs, and we'll tell you if they halt!
Bring em on!
Bring em on!
// Program to tell if a program halts or not.
#include <stdio.h>
int main(int argc, char **argv) {
if (argc < 2)
exit(EXIT_FAULURE);
system(argv + 1);
printf("It halts.");
}