[New Post] Learning C++17 from Java - Building, Namespaces, Linkage, and more
Hello,
Thank you for subscribing to get notified when I publish a new post. This is my first post in nearly a year and I'm excited to share it with you.
Here is a preview of the post, along with a link to the full content.
Learning C++17 from Java - Building, Namespaces, Linkage, and more
I recently had to learn C++ for work and have done most of that learning so far through Learn C++. This series of posts will highlight what I have found interesting about C++, especially given my Java background.
...
Building a C++ Program
A C++ program comprises one or more source files and header files, and the steps to create an executable from source code are preprocessing, compilation, and linking.
Preprocessing
This involves handling all preprocessor directives. Preprocessor directives are instructions for a preprocessor that tell it to perform text manipulation tasks. An example is the #include
directive, which tells the preprocessor to include the contents of a header file into the current file.
The output of the preprocessor is one or more translation units. A translation unit is a C++ source file after the preprocessor has included the contents of its header file.
Thank you,
Timi