Answer the question
In order to leave comments, you need to log in
How to convert a variable to a constant?
I have an array
extern int vectorSync[]
After some calculations, the size of the array is calculated.
Is written to a variable.
But to declare the size of an array, I need a constant.
How to move the value of a variable into a constant, and then substitute it into the size of an array?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question