Changes

Jump to: navigation, search

Pineapple 20131 - OOP344

20 bytes removed, 01:25, 15 February 2013
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

Navigation menu