【Effective Modern C】第2章 auto
auto好处:少打一些字,阻止那些由于手动指定型别带来的潜在错误和性能问题
条款5:优先选用auto,而非显示型别声明 使用auto必须初始化,就可以避免一系列由未初始化带来的问题 auto…
1、README
前言
本demo是使用的开源项目faad2将aac数据解码成pcm数据。
a. 编译使用
faad2的编译:(faad2下载地址:https://sourceforge.net/projects/faac/files/faad2-src/faad2-2.8.0/)
tar xzf faad2-2.8.8.tar.gz
cd faad2-2.8.8/
./configure …
Why you should worry about that?
or not.
Is-A (Inheritance)
Represents an “is-a-kind-of” hierarchy between classes. A subclass (child class) inherits attributes and methods from its superclass (parent class). Subclasses can specialize or override inh…