I think you can use 'printf' like blew, int printf( const char *format [, argument]... );
int _printf_l( const char *format, locale_t locale [, argument]... );
int wprintf( const wchar_t *format [, argument]... );
int _wprintf_l( const wchar_t *format, locale_t locale [, argument]... );
at the same time, I give a example using the 'printf',
/** * example using the 'printf' */
int main() { int e; int i; e = _set_printf_count_output( 1 ); printf( "%%n support was %sabled.\n", e ? "en" : "dis" ); printf( "%%n support is now %sabled.\n", _get_printf_count_output() ? "en" : "dis" ); printf( "12345%n6789\n", &i ); // %n format should set i to 5 printf( "i = %d\n", i ); }
Copyright © 2026 eLLeNow.com All Rights Reserved.