C++ Programming/Examples Summary
From Wikibooks, the open-content textbooks collection
Compilable Example Programs
- Simple "Hello World"
- Confusing Scope
- Average ( same program rewritten using a class )
- Complicated Scope (v1 - v2 - v3)
- Namespaces
- Storing two values in integer variables (v1 - v2)
- Using a Class
- Displays a string (v1 - v2 - v3)