RAD Studio VCL Reference
AnsiStringT::vprintf Method

Sets the value of the System::AnsiStringT given a format string and its arguments.

function vprintf(const format: char*; list: va_list): Integer; cdecl;
__cdecl int vprintf(const char* format, va_list list);

Use System::AnsiStringT::vprintf to set to the value of the System::AnsiStringT given a standard C++ format specifier. Pass the values to any arguments in the format specifier as a variable argument list that was created using va_start.  

This method returns the length of the final formatted string. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!