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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Where can I find C++ by Example?

12 点作者 dzhar11超过 2 年前
I want to spend some spare time and have some fun learning C++, because I respect this language. This is my hobby goal. Many know about &quot;Go by Example&quot; and &quot;Rust by Example&quot; where I have enjoyed these little experiments and well-written text. But where can I find something like &quot;C++ by Example&quot;?<p>Edit 00: What I am looking for is a language tour (I have read Stroustrup&#x27;s &quot;A tour of C++&quot;), but I want something more interactive.

3 条评论

mardiyah超过 2 年前
- have an IDE &#x2F; text editor can set in cli for the file to be launched&#x2F;done by compiler<p>- the cli must has option compile and stop, to have shortest read-execute cycle just to test syntax, have it full to link, so can print to test full<p>- have a new directory,<p>- set it 0 permission means everyone, or 777 on Linux<p>- highly recommended on Ram that is it&#x27;s virtual disk<p>- have a c++ source there<p>- this way only it can simulate REPL - read execute print loop of interpreter act<p>- enjoy your little experiments of well-written c++ text by this EREPL - Edit REPL
stefanos82超过 2 年前
Here you go:<p><a href="https:&#x2F;&#x2F;cppbyexample.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cppbyexample.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;hackingcpp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hackingcpp.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.learncpp.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.learncpp.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;AnthonyCalandra&#x2F;modern-cpp-features" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;AnthonyCalandra&#x2F;modern-cpp-features</a><p><a href="https:&#x2F;&#x2F;cppinsights.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cppinsights.io&#x2F;</a> it&#x27;s a must so you can investigate what gets generated by templates behind the scenes.<p><a href="http:&#x2F;&#x2F;eel.is&#x2F;c++draft&#x2F;" rel="nofollow">http:&#x2F;&#x2F;eel.is&#x2F;c++draft&#x2F;</a> bookmark this, you will need it!<p>Enjoy!
评论 #33074175 未加载
_448超过 2 年前
These two are very good beginner resources:<p><a href="https:&#x2F;&#x2F;pythontutor.com&#x2F;cpp.html" rel="nofollow">https:&#x2F;&#x2F;pythontutor.com&#x2F;cpp.html</a><p><a href="https:&#x2F;&#x2F;www.learn-cpp.org" rel="nofollow">https:&#x2F;&#x2F;www.learn-cpp.org</a><p>The other resources are:<p><a href="https:&#x2F;&#x2F;godbolt.org" rel="nofollow">https:&#x2F;&#x2F;godbolt.org</a><p><a href="https:&#x2F;&#x2F;root.cern&#x2F;cling" rel="nofollow">https:&#x2F;&#x2F;root.cern&#x2F;cling</a><p>More info about Cling is here: <a href="https:&#x2F;&#x2F;blog.llvm.org&#x2F;posts&#x2F;2020-11-30-interactive-cpp-with-cling" rel="nofollow">https:&#x2F;&#x2F;blog.llvm.org&#x2F;posts&#x2F;2020-11-30-interactive-cpp-with-...</a>
评论 #33074182 未加载