C++ For Loop: invalid operands to binary expression -
i trying re-create info 1 vector getting error , "invalid operands binary look 'int' , 'card' " when seek compile next loop:
for (int = 0; <= vectorone[veccapacity]; i++) { //step 3 vectortwo[i] = vectorone[i]; }
would have suggestions?
i believe meant is
for (int = 0; <= veccapacity; i++)
or more likely
for (int = 0; < veccapacity; i++)
c++ for-loop
No comments:
Post a Comment