C++

초(sec)를 시,분,초 포맷으로 바꾸기

오즈마스터 2008. 1. 31. 16:54
 int nTotalHour = nSec / 3600;
 int nTotalMin = nSec % 3600 / 60;
 int nTotalSec = nSec % 60;