core.stdc.stdlib._compare_fp_t and qsort
Joe
jma at freedomcircle.com
Sun Mar 18 19:05:43 UTC 2018
On Sunday, 18 March 2018 at 19:01:11 UTC, Joe wrote:
> I managed to get it working by declaring a D dynamic array,
> appending n_recs pointers to it and using it as argument to
> sort. Unfortunately, I then had to copy from the dynamic array
> to the fixed array in order to continue using the latter. Any
> shortcuts around this?
I just saw your other reply. Passing recs[0..n_recs] does the
trick. Thanks.
More information about the Digitalmars-d-learn
mailing list