Elektrine lite

← Feed

@palordrolap@fedia.io

Post #3205251

2026-06-08 22:58 UTC

Dynamically allocated multidimensional arrays.

Replies (3)

  • @Technus@lemmy.zip 2026-06-08 23:14

    Ah right, so that would be a 3D array. T* is a single row of T T** is a list of rows T*** is a list of “layers” in the third dimension This would be incredibly hazardous to pass around as a bare pointer with no context, though. I’d expect to see this in a struct that, at minimum, also includes fields for the size of each dimension.

    Open ##3205572

  • @Auth@lemmy.world 2026-06-08 23:41

    Tesseract Array

    Open ##3205918

  • @MonkderVierte@lemmy.zip 2026-06-09 09:06

    Where?

    Open ##3219256