Assign to Array Column

Paul phshaffer at gmail.com
Wed Feb 1 05:51:31 UTC 2023


On Wednesday, 1 February 2023 at 03:45:11 UTC, Salih Dincer wrote:
> On Tuesday, 31 January 2023 at 01:04:41 UTC, Paul wrote:
>> Can I perform a similar assignment to the column?  This, 
>> myArr[][0] = 5, doesn't work.
>
> Of course, this question has a short answer and a long answer. 
> So the issue is more about column-major. I am someone who likes 
> to talk with codes. In fact, everything is side by side in 
> memory. This example (something like array) covers the issue:

Thanks Salih.  Much appreciated.


More information about the Digitalmars-d-learn mailing list