【在 h****e 的大作中提到】 : most likely means: : if (NULL != dbPtr or 0 != counter or true == shouldPrintRowCounts) : do nothing
t*t
5 楼
since it's c++, it may involve some user-defined type conversion. so it's difficult to say...
【在 h****e 的大作中提到】 : most likely means: : if (NULL != dbPtr or 0 != counter or true == shouldPrintRowCounts) : do nothing
d*e
6 楼
dbPtr is a pointer, counter is an integer, the other one is bool. sure, the syntax is simple and makes sense, The problem is I don't understand what effect this statement has. It does not seem to have any effect since the evalued result is not used in any way.
t*t
7 楼
if so, then the statement doesn't make much sense.
【在 d******e 的大作中提到】 : dbPtr is a pointer, counter is an integer, the other one is bool. : sure, the syntax is simple and makes sense, The problem is I don't : understand what effect this statement has. It does not seem to have any : effect since the evalued result is not used in any way.
d*e
8 楼
that's what I am thinking, but I need to make sure. Thanks for the answer.
【在 d******e 的大作中提到】 : dbPtr is a pointer, counter is an integer, the other one is bool. : sure, the syntax is simple and makes sense, The problem is I don't : understand what effect this statement has. It does not seem to have any : effect since the evalued result is not used in any way.