mgradwohl / ModernLife

Conway's Game of Life in C++/WinRT/WinAppSDK/WinUI 3
12 stars 3 forks source link

Format the strings in for generation, etc. with digit separators #24

Closed mgradwohl closed 1 year ago

mgradwohl commented 1 year ago

Done, std::format helps

    std::wstring strContent = std::format(L"{}:{:.1f}\r\n{:8L}\r\n{:8L}\r\n{:8L}", timer.FPS(), fps.FPS(), _board.Generation(), _board.GetLiveCount(), _board.GetSize());