Search

January 27, 2007
General »
...is to use a critical section to swap pointers or something else that can't...
January 23, 2007
General »
...DISPOSITION)4, FILE_SHARE.READ);

  // when we swap the arguments by mistake
  CreateFile("filename", FILE...
January 11, 2007
GDC »
How much free RAM/swap do you have before starting the application? It looks like...
January 09, 2007
General »
...been pointed out, you can write a swap function for this. Actually, what I'd...
January 09, 2007
General »
Warren D Smith Wrote:

A few simpler symbols:
::  I think this is a good symbol...
January 09, 2007
General »
[snipped suggestions]

'swap' can easily be done with a function template:

void swap(T) (inout...
December 21, 2006
Announce »
...a > 0) { ... }
if ($a == $b) { ... }
swap(a[0], a[$ - 1]); // swap first and last element...
December 15, 2006
Announce »
...classes too.  If I do this:

void Swap(inout T a, inout T b)
{
    T...
November 28, 2006
General »
...could be vary handy to have this ability to swap out one exception for another.
November 12, 2006
Learn »
...T> instead.
>
>          if (items[prevIndex] > items[i]) {
>            swap(items, prevIndex, i);
>            needsMoreSorting = true;
>          }
>
>        }
>      }
>      return items...
151 152 153 154 155 156 157 158 159 160 161
Next ›   Last »