00001 // This is core/vul/vul_printf.h 00002 #ifndef vul_printf_h_ 00003 #define vul_printf_h_ 00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00005 #pragma interface 00006 #endif 00007 //: 00008 // \file 00009 // \brief Contains vul_printf function 00010 // 00011 // Printf formatting is just plain handy sometimes. This header provides 00012 // it for C++ programs in a standard-conforming manner. 00013 // 00014 // \author Andrew W. Fitzgibbon, Oxford RRG 00015 // \date 03 Jul 97 00016 // 00017 // \verbatim 00018 // Modifications 00019 // 970703 AWF Initial version. 00020 // PDA (Manchester) 21/03/2001: Tidied up the documentation 00021 // \endverbatim 00022 00023 #include <vcl_iosfwd.h> 00024 00025 //: Print using printf format specifiers to an ostream. 00026 // E.g. 00027 // \code 00028 // vul_printf(cout, "%d\n", 12); 00029 // \endcode 00030 vcl_ostream& vul_printf(vcl_ostream&, char const* fmt, ...); 00031 00032 #endif // vul_printf_h_