On Sunday, 17 September 2023 at 18:28:36 UTC, Joe wrote:
On Friday, 15 September 2023 at 16:55:34 UTC, Vino wrote:[...][...]char[] invalid = (cast(char*)malloc(char.sizeof * len))[0..len];This is not the way to go about it. You are mixing "pointer arrays" with "arrays".[...]
Thank you very much, I am still newbie for programming and currently concentrating on Arrays/Struct/Pointers/Memory management.