12 2024 档案

摘要:#define STRINGIFY(x) #x int someVariable = 10; std::cout << STRINGIFY(someVariable) << " = " << someVariable << std::endl; 阅读全文
posted @ 2024-12-27 11:37 leochan007 阅读(3) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <sstream> #include <iomanip> #include <ctime> bool compareTimeStrings(const std::string& timeStr1, const std::string& tim 阅读全文
posted @ 2024-12-24 15:47 leochan007 阅读(8) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> void print_binary(unsigned int n) { for (int i = sizeof(n) * 8 - 1; i >= 0; i--) { printf("%d", (n >> i) & 1); } printf("\n"); } vo 阅读全文
posted @ 2024-12-12 17:51 leochan007 阅读(3) 评论(0) 推荐(0) 编辑

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