현재시간 출력하고 30분뒤 출력하려면


time_t curr_time_t = (unsigned int)time(nullptr);

tm curr_time;


localtime_s(&curr_time, &curr_time_t);


....

std::put_time or strftime...


뭐 이런식으로 time_t, tm 왔다갔다 하는데


혹시 다른 방법이 있나요. 전 이거밖에 모르겄네요


c++11부턴 chrono 있어서 그거 쓰는데