1
edit
Changes
→Coding Style
'''Blocks'''
* One line for Place the block quotation brackets like this
<syntaxhighlight lang="cpp">
int main(){
int a;
int b;
if (a == b) {
cout << "good" << endl;
}
a; // bad
Single line blocks must be surrounded by { and }
if(whatever) {
do this:
} // good