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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Learning C++ for Java developers

2 点作者 dcwilson超过 11 年前
Hi,<p>I&#x27;m a Java developer who&#x27;s developed an interest working with a couple C++ based projects (OpenCV and QGIS in particular). I know that there are bindings for other languages for both of these projects, but I feel its time to buckle down and learn C++.<p>Does the community have any recommendations for learning C++ from the perspective of someone who has only worked with Java and Python in their educational&#x2F;professional career? I also want to make sure I&#x27;m learning modern best practices and not outdated techniques, which is a hazard of Googling for random web tutorials.

2 条评论

tubbzor超过 11 年前
I used this book [0] for my C++ course at uni a few semesters ago and found it rather easy to follow and Weiss does a good job going through the differences between Java and C++.<p>The biggest difference for me from Java is the fact you have to manage your own memory as there is no garbage collector to clean up after you in C++. This book covers memory management, operator overloading, and functors quite well.<p>[0] <a href="http://www.amazon.com/Java-Programmers-Mark-A-Weiss/dp/013919424X" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Java-Programmers-Mark-A-Weiss&#x2F;dp&#x2F;01391...</a>
lingua_franca超过 11 年前
check out some good C++ open source projects, like Chrome from Google and Folly from Facebook.