Lecture Notes for Advanced Programming II
19 April 2001 - Notation
- formatted io
- variable-length argument lists
-
f(arg, ...)
declares an function with optional arguments
- there must be at least one fixed argument
- the types and numbers of the optional arguments are unknown
- the
va_list
type, the va_start()
, va_end()
, and
va_arg()
macros
- one of the fixed arguments indicates variable argument type and
number
- overloading stream extraction operators
- regular expressions
- regular expressions recognize text
- there are many, many regular expression libraries and packages
This page last modified on 27 February 2001.