Waitrud Weber’s blog

things and reminders for memories

2021-03-11から1日間の記事一覧

3d: windows-make: How do we check if the array is allocated or not in C code ?

How do we check if the array is allocated or not in C code ? lines_2D[2] is allocated but nullptr so that we can set *vLine. It is going to be segmentation error if we don't check lines_2d[2] as one of arrays. We had better array_index whi…