{"categories":["C++"],"width":"100%","published":"2024-09-12 22:19:17","author_name":"tera1707","url":"https://tera1707.com/entry/2024/09/12/221917","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftera1707.com%2Fentry%2F2024%2F09%2F12%2F221917\" title=\" \u65e5\u4ed8\u6642\u523b\u3068\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u53d6\u5f97\u306e\u4ed5\u65b9\uff08std::chrono\u4f7f\u7528\uff09 - tera1707\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"tera1707\u2019s blog","author_url":"https://blog.hatena.ne.jp/tera1707/","provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/t/tera1707/20240912/20240912221832.png","title":" \u65e5\u4ed8\u6642\u523b\u3068\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e\u53d6\u5f97\u306e\u4ed5\u65b9\uff08std::chrono\u4f7f\u7528\uff09","description":"\u3082\u304f\u3058 https://tera1707.com/entry/2022/02/06/144447 \u3084\u308a\u305f\u3044\u3053\u3068 \u4ee5\u524d\u306e\u8a18\u4e8b\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u6642\u523b\u306e\u53d6\u5f97\u3068\u3001\u305d\u308c\u3092\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306b\u5408\u308f\u305b\u3066\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u3092\u8abf\u3079\u305f\u3002 \u4eca\u3069\u304d\u306f\u3001\u305d\u308c\u3092\u3082\u3063\u3068\u304b\u3063\u3053\u3088\u304f\u3084\u308c\u308b\u3089\u3057\u3044\u3002\u8a66\u3057\u3066\u307f\u308b\u3002 \u524d\u63d0 C++20\u3092\u4f7f\u7528\u3002 \u305f\u3081\u3057\u305f std::chrono\u3092\u4f7f\u3046\u3002 #include <Windows.h> #include <iostream> #include <chrono> #include <format> // C++20\u4ee5\u964d\u3067\u306a\u3044\u3068\u52d5\u304d\u307e\u305b\u3093 int main() { while (true) { // \u73fe\u5728\u30b7\u30b9\u30c6\u30e0\u6642\u523b\u2026","height":"190","type":"rich","version":"1.0","blog_url":"https://tera1707.com/","provider_url":"https://hatena.blog"}