I have a dynamic array of dstrings and I’m spending dstrings to
it. At one point I need to append a zero-length string just to
increase the length of the array by one but I can’t have a slot
containing garbage. I thought about ++arr.length - would that
work, while giving me valid contents to th
On Saturday, 8 July 2023 at 17:15:26 UTC, Cecil Ward wrote:
I have a dynamic array of dstrings and I’m spending dstrings to
it. At one point I need to append a zero-length string just to
increase the length of the array by one but I can’t have a slot
containing garbage. I thought about ++arr.le
On Saturday, 8 July 2023 at 17:15:26 UTC, Cecil Ward wrote:
I have a dynamic array of dstrings and I’m spending dstrings to
it. At one point I need to append a zero-length string just to
increase the length of the array by one but I can’t have a slot
containing garbage. I thought about ++arr.le
On Sat, Jul 08, 2023 at 05:15:26PM +, Cecil Ward via Digitalmars-d-learn
wrote:
> I have a dynamic array of dstrings and I’m spending dstrings to it. At
> one point I need to append a zero-length string just to increase the
> length of the array by one but I can’t have a slot containing garbag
On Saturday, 24 June 2023 at 15:16:37 UTC, Cecil Ward wrote:
I have LDC running on an ARM Mac. If anyone else out there is
an LDC or GDC user, could you knock up a quick shell program to
compile and link a .d file to produce an executable ? found the
linker but these tools are all new to me and