Coding problem using a 2-d array of structs inside another struct in C

前端 未结 5 780
醉酒成梦
醉酒成梦 2021-02-06 10:58

I am working with a 2-dimensional array of structs which is a part of another struct. It\'s not something I\'ve done a lot with so I\'m having a problem. This function ends up f

5条回答
  •  梦如初夏
    2021-02-06 12:00

    height and width are undefined; you might want to initialise them first, as in

    thisImage.height = 10; thisImage.width = 20;

    also,

    • what is colorRGB?

提交回复
热议问题