Lecture Notes for Advanced Programming II

19 April 2001 - Notation


  1. formatted io

    1. variable-length argument lists

      1. f(arg, ...) declares an function with optional arguments

      2. there must be at least one fixed argument

      3. the types and numbers of the optional arguments are unknown

      4. the va_list type, the va_start(), va_end(), and va_arg() macros

      5. one of the fixed arguments indicates variable argument type and number

    2. overloading stream extraction operators

  2. regular expressions

    1. regular expressions recognize text

    2. there are many, many regular expression libraries and packages


This page last modified on 27 February 2001.