Advertisement

What is the most bizar syntax you have ever written?

Started by December 05, 2000 03:34 PM
19 comments, last by Marsupial Rodentia 23 years, 6 months ago
  if( !fWak->Read(fHandle, &(pImageInfo->dwDataStart), sizeof(pImageInfo->dwDataStart)) || !fWak->Read(fHandle, &bmpHeader, sizeof(bmpHeader)) )   


Two function calls in one if statement. It''s not all that weird, but it saved me 5 lines of code and made things look a lot neater. It''s just nice seeing how versatile C++ is.
BetaShare - Run Your Beta Right!

This topic is closed to new replies.

Advertisement