求教:VC中的布尔量问题???
xtge 2001-07-20 01:44:18 for ( bool done = false ; ; ! done ) {
char data[ 500 ];
int count = m_TxQueue.Extract( data, 500 );
if ( count == 0 ) {
done = true;
TxNotify();
break;
}
}
请问这样写for语句,即中间的表达式没有for ( bool done = false ; ; ! done ) 是如何解释???
为什么编译时出现警告?!!
E:\work\vc\Pzmodex\Win32Port.cpp(1378) : warning C4552: '!' : operator has no effect; expected operator with side-effect