C++20 sections · 1024 units
Open in Course

Section Recap

What we learned

You now know the basics of C++. You can write programs that compile, print output, and read input.

1.1. Every C++ program needs #include, using namespace std, and main()

2.2. cout prints output, cin reads input

3.3. Semicolons end statements, braces group code

4.4. Comments explain your code to others and your future self

Good job finishing this part. The foundation is set. Next, you will learn how to store and manipulate data using variables.