Is there a way to get the size of a three-dimensional vector using pointer notation?

前端 未结 0 547
予麋鹿
予麋鹿 2020-12-04 17:53

I need to do something like this:

sizeof(int[width][height][8])

but unfortunately in c89 (the standard i have to use) this notation is forbid

相关标签:
回答
  • 消灭零回复
提交回复
热议问题