
  <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
      <title>See the World</title>
      <link>https://morex.ccwu.cc//blog</link>
      <description>Some days you bloom, some days grow roots, both matter.</description>
      <language>zh-cn</language>
      <managingEditor>lmxtrl@gmail.com (Roy Tan)</managingEditor>
      <webMaster>lmxtrl@gmail.com (Roy Tan)</webMaster>
      <lastBuildDate>Sun, 06 Mar 2022 00:00:00 GMT</lastBuildDate>
      <atom:link href="https://morex.ccwu.cc//tags/cpp/feed.xml" rel="self" type="application/rss+xml"/>
      
  <item>
    <guid>https://morex.ccwu.cc//blog/bit-hacks/compute-abs</guid>
    <title>绝对值 ——《C/C++ 位运算黑科技 01》</title>
    <link>https://morex.ccwu.cc//blog/bit-hacks/compute-abs</link>
    <description>The blog explores a bit manipulation technique for computing absolute values of integers, presenting a C++ function mabs. It compares performance with std::abs, demonstrating efficiency on various systems.</description>
    <pubDate>Sun, 06 Mar 2022 00:00:00 GMT</pubDate>
    <author>lmxtrl@gmail.com (Roy Tan)</author>
    <category>cpp</category><category>bits</category><category>hacks</category>
  </item>

  <item>
    <guid>https://morex.ccwu.cc//blog/bit-hacks/compute-power2</guid>
    <title>2 的幂次方 ——《C/C++ 位运算黑科技 02》</title>
    <link>https://morex.ccwu.cc//blog/bit-hacks/compute-power2</link>
    <description>Explore two efficient bitwise techniques in C/C++ to check if a number is a power of two: ensuring (number &amp; (number - 1)) == 0, and checking that number &amp; -number equals the number itself, both applied to non-zero numbers for optimized performance.</description>
    <pubDate>Sat, 26 Mar 2022 00:00:00 GMT</pubDate>
    <author>lmxtrl@gmail.com (Roy Tan)</author>
    <category>cpp</category><category>bits</category><category>hacks</category>
  </item>

  <item>
    <guid>https://morex.ccwu.cc//blog/bit-hacks/count-bits</guid>
    <title>二进制中 1 的个数 ——《C/C++ 位运算黑科技 03》</title>
    <link>https://morex.ccwu.cc//blog/bit-hacks/count-bits</link>
    <description>This post explores a swift technique to count &#39;1&#39;s in binary numbers via a merging counter, contrasting with the slower traditional bit-clearing method. It includes code for various integer sizes and demonstrates the method&#39;s speed with benchmarks.</description>
    <pubDate>Sun, 27 Mar 2022 00:00:00 GMT</pubDate>
    <author>lmxtrl@gmail.com (Roy Tan)</author>
    <category>cpp</category><category>bits</category><category>hacks</category>
  </item>

  <item>
    <guid>https://morex.ccwu.cc//blog/other/cpp-calls-ffmpeg-for-rtmp-push</guid>
    <title>C++ 调用 ffmpeg 进行 rtmp 推流</title>
    <link>https://morex.ccwu.cc//blog/other/cpp-calls-ffmpeg-for-rtmp-push</link>
    <description>通过管道调用 ffmpeg 推 rtmp 流</description>
    <pubDate>Mon, 27 Sep 2021 00:00:00 GMT</pubDate>
    <author>lmxtrl@gmail.com (Roy Tan)</author>
    <category>cpp</category><category>ffmpeg</category><category>opencv</category><category>rtmp</category>
  </item>

    </channel>
  </rss>
