TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Best way to learn C++ in 2022

12 点作者 mr_o47超过 2 年前
Hello HN,<p>What are good books, tutorials and courses which can allow you to become better C++ programmer if you are starting as beginner

4 条评论

stefanos82超过 2 年前
I will copy my answer from a previous &quot;Ask HN&quot; that asked a similar question.<p><pre><code> &gt; https:&#x2F;&#x2F;cppbyexample.com&#x2F; &gt; &gt; https:&#x2F;&#x2F;hackingcpp.com&#x2F; &gt; &gt; https:&#x2F;&#x2F;www.learncpp.com&#x2F; &gt; &gt; https:&#x2F;&#x2F;github.com&#x2F;AnthonyCalandra&#x2F;modern-cpp-features &gt; &gt; https:&#x2F;&#x2F;cppinsights.io&#x2F; it&#x27;s a must so you can investigate what gets generated by templates behind the scenes. &gt; http:&#x2F;&#x2F;eel.is&#x2F;c++draft&#x2F; bookmark this, you will need it! </code></pre> Now, about books I would suggest the latest &quot;A tour of C++&quot; by Bjarne Stroustrup; it&#x27;s ideal for experienced programmers that want to learn modern C++ rather fast.<p>Other books would be Scott Meyers&#x27; Effective Series, Andrei Alexandrescu and Herb Sutter are a must, and of course Jason Turner&#x27;s &quot;C++ Weekly&quot; series [1]; of course apart from the books, the links I have originally shared are more than enough to cover everything around C++.<p>[1] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;c&#x2F;lefticus1&#x2F;videos" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;c&#x2F;lefticus1&#x2F;videos</a>
Bambo超过 2 年前
A good way to learn more is to search for books about topics you&#x27;re interested in e.g.; sqlite, zeromq, google testing libraries, opengl...<p>1. <a href="https:&#x2F;&#x2F;www.amazon.co.uk&#x2F;Design-Patterns-Object-Oriented-Addison-Wesley-Professional-ebook&#x2F;dp&#x2F;B000SEIBB8" rel="nofollow">https:&#x2F;&#x2F;www.amazon.co.uk&#x2F;Design-Patterns-Object-Oriented-Add...</a><p>2. <a href="https:&#x2F;&#x2F;www.oreilly.com&#x2F;library&#x2F;view&#x2F;using-sqlite&#x2F;9781449394592&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.oreilly.com&#x2F;library&#x2F;view&#x2F;using-sqlite&#x2F;9781449394...</a><p>3. <a href="https:&#x2F;&#x2F;www.glprogramming.com&#x2F;red&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.glprogramming.com&#x2F;red&#x2F;</a><p>4. <a href="https:&#x2F;&#x2F;gameprogrammingpatterns.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gameprogrammingpatterns.com&#x2F;</a><p>5. <a href="https:&#x2F;&#x2F;zguide.zeromq.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zguide.zeromq.org&#x2F;</a>
transfire超过 2 年前
If you are starting as a beginner then I recommend that you simple “Don’t”. C++ is a rather terrible and (slowly) dying language. I have to use it at work with Qt and would rather be coding in just about anything else (including Forth!)<p>If you want to learn low level coding, Rust is probably your best option.<p>If you want move up a level and don&#x27;t need to be right against the metal, Crystal is probably the best OOP choice.<p>Beyond that, if you don’t need your code to be near C speeds (most applications do not), there are a number of good choices that will make you far more productive — Elixir, Ruby, Clojure, Pharo, Julia, etc.
评论 #33151783 未加载
评论 #33148815 未加载
评论 #33142488 未加载
iExploder超过 2 年前
The C++ Programming Language from Stroustrup is the c++ bible but Im not sure all of what you find there is actually useful for day to day coding.<p>To become a better C++ programmer you just use the language, but not on a project where you fix bugs, but on a project you write from start to finish. If this is not possible at work, you could try looking into contributing to open source c++ projects on github...<p>When using C++ in practice to build projects you realize what features are actually useful, what to avoid and what the limitations of the language are. C++ does have a lot of after thought add-ons...