Whenever I try to type the "count_g_polCoeff" as the size of my phi array, it turns out that I receive this kind of error whenever I hover to the count_g_polCoeff inside the phi brackets.
expression must have a constant value
the value of variable "count_g_polCoeff" cannot be used as a constant
Having this said, I know the real size of g_polCoeff.size() (which is 1088 as of the moment), and I could have just typed my array like this way so that I won't have any problem:
However, I would like to use a variable there as much as possible because I will be running different OBJ files in my program, and obviously, this parameter changes every time I change my OBJ. Can you give some insights how I can solve my concern? Thank you very much for your response in advance.