Introduction 오래된 자료 포스팅 중입니다. 필요하신 분들이 계실지는 모르겠지만, C/C++기반 콘솔에서 시간 출력하는 예제입니다. 소스코드 #include #include int main( void) { char *week[] = { "일", "월", "화", "수", "목", "금", "토"}; time_t current_time; struct tm *struct_time; time( ¤t_time); struct_time = localtime( ¤t_time); printf( "%4d 년n", struct_time->tm_year +1900); printf( " %2d 월(0-11)n", struct_time->tm_mon +1 ); printf( " %2d 일(1-3..