On 9 February 2012 22:44, Lukas Fleischer <suckl...@cryptocrack.de> wrote: > Yeah. 'if (!argv[1]) argv[1] = "y";' and this gets a +1 from me :)
It'd probably be more like, > const char *s = (argc < 2) ? "y" : argv[1]; > while(puts(s) != EOF); cls
On 9 February 2012 22:44, Lukas Fleischer <suckl...@cryptocrack.de> wrote: > Yeah. 'if (!argv[1]) argv[1] = "y";' and this gets a +1 from me :)
It'd probably be more like, > const char *s = (argc < 2) ? "y" : argv[1]; > while(puts(s) != EOF); cls