- #1
- 657
- 89
Assume you're not forced to use a particular method.
Method 1:
Method 2:
If you selected 'other', please provide an example.
Method 1:
Code:
void foo( giveMeThis ) {
if( something ) {
doThis;
} else {
doThisOtherThing;
}
}
Method 2:
Code:
void foo( giveMeThis )
{
if( something )
{
doThis;
}
else
{
doThisOtherThing;
}
}
If you selected 'other', please provide an example.
Last edited: