<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>库 on Text Matrix</title><link>https://txtmix.com/tags/%E5%BA%93/</link><description>Recent content in 库 on Text Matrix</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 21 Jul 2026 20:06:14 +0800</lastBuildDate><atom:link href="https://txtmix.com/tags/%E5%BA%93/index.xml" rel="self" type="application/rss+xml"/><item><title>stb：C/C++ 单文件公共领域库全集</title><link>https://txtmix.com/posts/tech/stb-c-single-file-public-domain-libraries/</link><pubDate>Mon, 13 Apr 2026 23:51:22 +0800</pubDate><guid>https://txtmix.com/posts/tech/stb-c-single-file-public-domain-libraries/</guid><description>&lt;h2 id="-学习目标">📋 学习目标&lt;/h2>
&lt;p>通过本文，您将掌握：&lt;/p>
&lt;ol>
&lt;li>&lt;strong>理解 stb 的核心价值&lt;/strong> — 了解单文件公共领域库的优势和使用场景&lt;/li>
&lt;li>&lt;strong>掌握 stb 的安装与基本使用&lt;/strong> — 学会如何在项目中集成 stb 库&lt;/li>
&lt;li>&lt;strong>学会选择适合的 stb 库&lt;/strong> — 根据需求选择图像、音频、3D 图形、游戏开发或实用工具库&lt;/li>
&lt;li>&lt;strong>了解 stb 的许可证优势&lt;/strong> — 明确公共领域许可证的使用自由度&lt;/li>
&lt;li>&lt;strong>掌握 stb 的实际应用场景&lt;/strong> — 独立游戏开发、嵌入式系统、跨平台项目&lt;/li>
&lt;/ol>
&lt;hr>
&lt;h2 id="-目录">📑 目录&lt;/h2>
&lt;ol>
&lt;li>&lt;a href="#%e4%b8%ba%e4%bb%80%e4%b9%88%e9%80%89%e6%8b%a9-stb" rel="">为什么选择 stb？&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%9b%be%e5%bd%a2%e5%9b%be%e5%83%8f7-%e4%b8%aa%e5%ba%93" rel="">图形图像（7 个库）&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e9%9f%b3%e9%a2%912-%e4%b8%aa%e5%ba%93" rel="">音频（2 个库）&lt;/a>&lt;/li>
&lt;li>&lt;a href="#3d-%e5%9b%be%e5%bd%a23-%e4%b8%aa%e5%ba%93" rel="">3D 图形（3 个库）&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e6%b8%b8%e6%88%8f%e5%bc%80%e5%8f%912-%e4%b8%aa%e5%ba%93" rel="">游戏开发（2 个库）&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%ae%9e%e7%94%a8%e5%b7%a5%e5%85%b72-%e4%b8%aa%e5%ba%93" rel="">实用工具（2 个库）&lt;/a>&lt;/li>
&lt;li>&lt;a href="#ui1-%e4%b8%aa%e5%ba%93" rel="">UI（1 个库）&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%85%b6%e4%bb%96%e5%ba%93" rel="">其他库&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e9%a1%b9%e7%9b%ae%e7%bb%93%e6%9e%84" rel="">项目结构&lt;/a>&lt;/li>
&lt;li>&lt;a href="#faq" rel="">FAQ&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e8%87%aa%e6%b5%8b%e9%a2%98" rel="">自测题&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e7%bb%83%e4%b9%a0" rel="">练习&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e8%bf%9b%e9%98%b6%e8%b7%af%e5%be%84" rel="">进阶路径&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e8%b5%84%e6%96%99%e5%8f%a3%e5%be%84%e8%af%b4%e6%98%8e" rel="">资料口径说明&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e6%80%bb%e7%bb%93" rel="">总结&lt;/a>&lt;/li>
&lt;/ol>
&lt;hr>
&lt;p>&lt;strong>stb&lt;/strong> 是由 Sean T. Barrett（网名 nothings）发起的单文件公共领域库项目，包含 21 个精选 C/C++ 库，共 51,166 行代码。所有库均采用公共领域（Public Domain）或 MIT 双许可证，无任何归属要求，可任意使用再分发。&lt;/p></description></item></channel></rss>