<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C++ on HaoranZing’s Blog</title><link>https://haoranzing.com/tags/c++/</link><description>Recent content in C++ on HaoranZing’s Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><copyright>© 2026 HaoranZing</copyright><lastBuildDate>Wed, 09 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://haoranzing.com/tags/c++/index.xml" rel="self" type="application/rss+xml"/><item><title>重刷五年前的题：进制转换里，一个字符造成的 WA</title><link>https://haoranzing.com/posts/b3619-base-conversion-revisit/</link><pubDate>Wed, 09 Sep 2026 00:00:00 +0000</pubDate><guid>https://haoranzing.com/posts/b3619-base-conversion-revisit/</guid><description>一次进制转换的 WA，让我重新翻出五年前的代码：从位权拆数到除基取余，补上字符类型、零值处理和算法原理。</description></item><item><title>从手写 Sort 到 tuple：一次多条件排序的学习复盘</title><link>https://haoranzing.com/posts/sort-to-tuple/</link><pubDate>Tue, 08 Sep 2026 00:00:00 +0000</pubDate><guid>https://haoranzing.com/posts/sort-to-tuple/</guid><description>从手写选择排序中的边界错误出发，逐步把多条件排名规则改写为比较器、Lambda 和 tuple，并梳理严格弱序、复杂度与各种写法的适用场景。</description></item></channel></rss>