如果你懂 C 语言,《C++ Common Knowledge》(https://www.amazon.com/Common-Knowledge-Essential-Intermedia...)能帮你快速过一遍需要避开的坑(gotchas)。在此基础上,再去读 Scott Meyers 的书,能给你打下扎实的……
If you know C, C++ Common Knowledge (https://www.amazon.com/Common-Knowledge-Essential-Intermedia...) will give you a quick run of the gotchas you're to avoid. From there, move to Scott Meyer's books, which will give you some good foundational…
…or 14, but still are pretty valuable especially for legacy code bases. Here are a few good ones that I haven't seen mentioned elsewhere in the thread. - Sutter's Exceptional C++ books - Dewhurst's C++ Common Knowledge and C++ Gotchas are useful. - Sutter/Alexandrescu's "C++ Coding Standards" is good, too.
如果你懂 C 语言,《C++ Common Knowledge》(https://www.amazon.com/Common-Knowledge-Essential-Intermedia...)能帮你快速过一遍需要避开的坑(gotchas)。在此基础上,再去读 Scott Meyers 的书,能给你打下扎实的……
If you know C, C++ Common Knowledge (https://www.amazon.com/Common-Knowledge-Essential-Intermedia...) will give you a quick run of the gotchas you're to avoid. From there, move to Scott Meyer's books, which will give you some good foundational…
……或者 14,但仍然非常有价值,尤其是对于维护遗留代码库而言。这里有几本不错的书,我发现本帖其他地方还没人提过:- Sutter 的《Exceptional C++》系列 - Dewhurst 的《C++ Common Knowledge》和《C++ Gotchas》非常实用。- Sutter 和 Alexandrescu 合著的《C++ Coding Standards》也很棒。
…or 14, but still are pretty valuable especially for legacy code bases. Here are a few good ones that I haven't seen mentioned elsewhere in the thread. - Sutter's Exceptional C++ books - Dewhurst's C++ Common Knowledge and C++ Gotchas are useful. - Sutter/Alexandrescu's "C++ Coding Standards" is good, too.