Need help with C2676: binary '['... ERROR
Anytime I try to access part of an array, ba[index] for example, It gives me this error, even when I print out.
|C2676: binary '[' : 'BitArray' does not define this operator or a conversion to a type acceptable to the predefined operator|
Last edited on
only predefined types have the  operator built into the behavior. If BitArray is a class that you created, you will need to overload the operator.
Topic archived. No new replies allowed.