Fall of Roman Empire

Dan Bishop danb_83 at yahoo.com
Sun Dec 24 12:31:29 EST 2006


Dec 20, 10:36 am, Felix Benner <felix.ben... at imail.de> wrote:

> static int main(int argc, char **argv) {
>         char *god_name;
>         if (argc)
>                 god_name = argv[1];
>         else
>                 god_name = "YHWH";
>         metaPower God = getGodByName(god_name);
>         universe *everything = makeUniverse(God);
>         while (simulatePhysics(everything));
>         return 0;
> }

This won't work if there are no command-line arguments.  You mean if
(argc > 1).




More information about the Python-list mailing list