Append char to char-array in function

bearophile bearophileHUGS at lycos.com
Sun Mar 21 04:17:05 PDT 2010


Bane:
> No, it shouldn't. What goes in B, stays in B. But if you add magic 'ref' or 'inout' keyword it might work:

Use 'ref' only. If the OP also wants to know why that's the solution, the d.learn newsgroup is the right place to ask.

Bye,
bearophile



More information about the Digitalmars-d mailing list