Basics
cout << "helloWorld!" << endl;
Code Conventions
Info:
- Add a semicolon at the end of each executable statement
Danger:
avoid code lines longer than 80 characters
Hyphens are not allowed in C++. They are reserved for subtractions.
Console
input
cout << "Bitte naechste Zahl eingeben:" << endl;
ouput
cin >> zahl;