trying to do this C code, in D, but getting error:"Error: assignment cannot be used as a condition, perhaps `==` was meant?"
any help much appreciated:
------
while ((*dst++ = *src++)) {}
------
trying to do this C code, in D, but getting error:"Error: assignment cannot be used as a condition, perhaps `==` was meant?"
any help much appreciated:
------
while ((*dst++ = *src++)) {}
------