Hey folks, trying to add a duration to a time using std::chrono, what am I messing up?

后端 未结 0 1814
后悔当初
后悔当初 2020-11-29 13:36

So, here\'s my code:

float numSeconds = 50;
std::chrono::steady_clock startTime = std::chrono::steady_clock::now();
auto duration = std::chrono::duration

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题