Dynamically allocate contiguous memory for a "rectangular 2d array", without using VLAs
Dynamically allocate contiguous memory for a "rectangular 2d array", without using VLAs
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(stackoverflow.com/users/20314114/iloveclang)iloveclang |
(stackoverflow.com/users/2402272/john-bollinger)John Bollinger |
(stackoverflow.com/users/134554/john-bode)John Bode |
(stackoverflow.com/users/3121023/user3121023)user3121023 |
(stackoverflow.com/users/18519921/wohlstad)wohlstad |
(stackoverflow.com/users/20314114/iloveclang)iloveclang |
A special thanks goes out to the (https://stackoverflow.com/questions/74584190/dynamically-allocate-contiguous-memory-for-a-rectangular-2d-array-without-usi)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
dynamic-memory-allocation c