반응형 printf()1 printf() 출력 형식 지정자 printf() 출력 형식 지정자 예제.. Example/* PRINTF.C: This program uses the printf and wprintf functions * to produce formatted output. */ #include void main( void ) { char ch = 'h', *string = "computer"; int count = -9234; double fp = 251.7366; wchar_t wch = L'w', *wstring = L"Unicode"; /* Display integers. */ printf( "Integer formats:\n" "\tDecimal: %d Justified: %.6d Unsigned: %u\n", count, count, coun.. 2007. 2. 15. 이전 1 다음 반응형