Hello World! in C++
You are not required to use CLion for this class, but it is any easy-to-use IDE for C/C++. There is a free student license available. To download and install CLion, visit the JetBrains website and follow the appropriate directions for your OS. CLion runs on macOS, Windows, and Linux.
Alternatively, you can use a text editor (or other IDE) of your choice, and compile from the command line.
Here’s a short video showing how to download and install CLion.
Here’s a quick demo, showing how to create a new Hello, World! project in CLion.
For more information see the JetBrains CLion Quick Start Guide:
Comprehension check
- Every C++ program has a ______________ function.
- True or false? A return code of 0 typically means a program has failed with an error.
std
is the namespace for the C++ _______________ library.std::cout
is a(n):- function
- object
- header
- library
- Preprocessor directives all start with a ______________ character.
Answers: # / ʇɔǝɾqo ˙q / pɹɐpuɐʇs / ǝslɐɟ / uᴉɐɯ
Copyright © 2023–2025 Clayton Cafiero
No generative AI was used in producing this material. This was written the old-fashioned way.