Next: Command line input Up: Input and Output (I/O) Previous: Reading and writing FILES

sprintf and sscanf

These are like fprintf and fscanf except they read/write to a string.

int sprintf(char *string, char *format, args..)

int sscanf(char *string, char *format, args..)

For Example:


drago@scri.fsu.edu
Jan. 1997