Sunday, March 7, 2010

Is that _legal_?

  while ( k > j ) {

  sort[k] = sort[ k-1 ], k--;

The comma operator?  Wow...  I had never even thought of doing that.  I suppose it's probably legal.

No comments:

Post a Comment