문자열 처리
sprintf 예제
hellobird
2019. 3. 30. 23:48
char buf[256] ;
for( int i = 0 ; i < 3 ; ++i )
{
sprinf( buf, "test %d", i ) ;
printf( "%s\n", buf ) ;
printf( "%s\n", buf ) ;
}
출처: https://ryumin13.tistory.com/entry/sprintf-사용하기 [진정한 프로그래머가 되길 꿈꾸며..]