parameter, file, text = ARGV

if parameter == '-w' #=> write mode
...

Ruby Clumsy file I/O program

by thaostra.myopenid.com, June 21, 2010 00:06, 1 refactoring, tagged with exceptions, arguments, parameters, I/O

This is my first attempt of...

55502f40dc8b7c769880b10874abc9d0 Talk
void print_help()
{
        printf("usage:\n") ;
...

C Using getopt() to parse inp...

by rickross.myopenid.com, January 24, 2009 21:13, No refactoring, tagged with input, parse, arguments, getopt

This is a simple bit of cod...

55502f40dc8b7c769880b10874abc9d0 Talk