摘要: Σ(っ °Д °;)っ #include<iostream> struct Entity { int x, y; int* GetPtr() { return &x; } /*Entity* GetPtr() { return this; }*/ }; int main() { Entity e = 阅读全文
posted @ 2021-06-17 15:54 放飞梦想C 阅读(100) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<chrono> struct Timer { std::chrono::time_point<std::chrono::steady_clock>start, end; std::chrono::duration<float>duration; 阅读全文
posted @ 2021-06-17 15:07 放飞梦想C 阅读(42) 评论(0) 推荐(0) 编辑