I declare it in my class and when I wnat to use the function as below I get the error message No match for operator[]. If I remove the line dayReport[i].dayOfMonth = dayP then it works but it is not...
Type: Posts; User: CyberAge
I declare it in my class and when I wnat to use the function as below I get the error message No match for operator[]. If I remove the line dayReport[i].dayOfMonth = dayP then it works but it is not...
Just want to check if you have a solution to the problem as I am experiencing the same problem with the No match for operator[] compilation error.
Would appreciate any help.