Or adjust your writing style so that mis-matched brackets are easier to see. Put every { and every } on its own line.
if(a ==1)
{
If(b==1)
{
doThis;
}
}
Couple that with auto format and misplaced brackets usually stand right out.
Or adjust your writing style so that mis-matched brackets are easier to see. Put every { and every } on its own line.
if(a ==1)
{
If(b==1)
{
doThis;
}
}
Couple that with auto format and misplaced brackets usually stand right out.