[prev] [index] [next]

Tips for Quiz 1 (during Week-5 lab)

  • Understand and use argc, *argv[]. E.g.

    prompt$ ./myprog 123
    

    • type and value of argc?
    • type and value of argv[1][0]?
    • type and value of *argv[0]?
  • Be able to
    • prompt for, and process, user input (e.g. ints, floats)
    • print error messages and return error status
    • use a (simple) given file.h, file.c
    • write a (simple) Makefile