Tagged “c++17”
-
Learning C++ from Java - Pointers and References
·
6 min read
Before I started learning C++, I had read about Java being pass-by-value rather than pass-by-reference, but I found it easier to think I was passing objects around by reference. This post begins by summarizing pointers and references in C++, before describing the different semantics for passing arguments to a function.
c++17 -
Learning C++ from Java - Header files
·
6 min read
This post begins with an explanation of forward declarations in C++ before I highlight why and how C++ programmers use header files.
c++17 -
Learning C++ from Java - Building, Namespaces, Linkage, and more
·
7 min read
I recently had to learn C++ for work and have done most of that learning so far through learncpp.com. This next series of posts will highlight what I have found interesting about C++, especially given my Java background. In this post, I cover variable initialization, namespaces, linkage, and more.
c++17