weirdest code ever

this is an overloading function of the plus operator, weird thing is that when I make my vector larger and then print the corresponding elements in the vector it works however when it tries to perform operator it doesn't work as it is not there... I've put some additional info at the code, maybe it makes more sense there

 
 updated
Last edited on
Topic archived. No new replies allowed.