jinnsjj.github.io - JOHZEN

Example domain paragraphs

若要在 cin 后使用 getline() ,需要用 cin.ignore() 跳过接受的回车符,否则 getline() 会无法接收到目标字符串。

vector<bool> 在STL中被优化为每个bool之占用一个bit而不是一个字节的内存,这导致地址可能不能被正确的返回,所以要避免 vector<bool> 的使用,可以用 vector<int> 代替。

-> http://hyperphysics.phy-astr.gsu.edu/hbase/Acoustic/revtim.html