19-声明
声明 Wherever there is modularity there is the potential for misunderstanding: Hiding information implies a need to check communication. [^1] 目录 [TO...
18-指针的高级应用
指针的高级应用 A language that doesn’t affect the way you think about programming, is not worth knowing. [^1] 目录 [TOC] 指针的高级应用 零 前言 相关文章参考: https://mp....
15-预处理器
预处理器 Every program has (at least) two purposes: the one for which it was written and another for which it wasn’t.[^1] 目录 [TOC] 预处理器 零 前言 前面我们用到的 ...
21-底层程序设计
底层程序设计 A good system can’t have a weak command language. [^1] 目录 [TOC] 底层程序设计 零 前言 有些程序需要进行位级别的操作。位操作和其他一些底层运算在编写系统程序(包括编译器和操作系统),加密程序,图形程序以及一些其...
20-程序设计
程序设计 Optimization hinders evolution. [^1] 目录 [TOC] 程序设计 零 前言 实际应用中的程序显然比本系列教学的例子要大,但是你可能不会意识到会大多少。如今,大多数功能完整的程序至少有十万行代码,百万行级的程序已经很常见。 虽然 C 语言不是专...
24-错误处理
错误处理 There will always be things we wish to say in our programs that in all known languages can only be said poorly. [^1] 目录 [[TOC]] [toc] 错误处理 零 ...
22-输出&输出
输入/输出 To understand a program you must become both the machine and the program. [^1] 目录 [TOC] 输入\输出 零 前言 C 语言的输入\输出库是标准库中最大且最重要的部分。 我们除过继续深入讨论 p...
23-标准库
标准库 Perhaps if we wrote programs from childhood on, as adults we’d be able to read them. [^1] 目录 [TOC] 一 标准库的使用 C89 标准库总共划分成 15 个部分,每个部分用一个头描述。C99...
C 语言还值得学习吗?C 语言会过时吗?C 语言解惑
C 语言还值得学吗? 答案是肯定的。 第一,学习C有助于更好的理解C++,Java,C#,Perl以及其他基于C的特性的语言。第一开始就学习其他语言的程序员往往不能很好的掌握继承自C语言的基本特性。 第二,目前仍有许多C程序,我们需要读懂并维护这些代码。 第三,C语言仍广泛应用于新软件的开发,...
C语言 文件 看这一篇就够了
想看更好排版,可以看原文 点击看原文 文件 格式化的输入输出 printf % [flag] [width] [.prec] [hlL] type scanf % [flag] type printf flag 属性一般与 width 属性结合 Flag 含义 - 左对齐...