08 2023 档案

摘要:下面代码是一个使用format的例子 ```c++ #include #include #include int main() { double principal{ 1000 }; double rate{ 0.5 }; std::cout 7.2f}\n", principal); std::c 阅读全文
posted @ 2023-08-14 21:58 yuzuki_n 阅读(151) 评论(0) 推荐(0) 编辑
摘要:```c #include #include #include // 等待x毫秒 int sleep(unsigned long x) { clock_t c1 = clock(), c2; do { if ((c2 = clock()) == (clock_t) -1) return 0; } w 阅读全文
posted @ 2023-08-07 22:24 yuzuki_n 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示