Functions
core/vul/vul_printf.h File Reference

Contains vul_printf function. More...

#include <vcl_iosfwd.h>

Go to the source code of this file.

Functions

vcl_ostream & vul_printf (vcl_ostream &, char const *fmt,...)
 Print using printf format specifiers to an ostream.

Detailed Description

Contains vul_printf function.

Printf formatting is just plain handy sometimes. This header provides it for C++ programs in a standard-conforming manner.

Author:
Andrew W. Fitzgibbon, Oxford RRG
Date:
03 Jul 97
   Modifications
   970703 AWF Initial version.
   PDA (Manchester) 21/03/2001: Tidied up the documentation
   

Definition in file vul_printf.h.


Function Documentation

vcl_ostream& vul_printf ( vcl_ostream &  ,
char const *  fmt,
  ... 
)

Print using printf format specifiers to an ostream.

E.g.

 vul_printf(cout, "%d\n", 12);

Definition at line 17 of file vul_printf.cxx.