Hi, I'm not sure what's entirely wrong with my delete operator. The function i'm running works fine until it reaches the delete operator and i get an error saying a break point was made at my delete operator. can someone tell me how to fix it and why this error is popping up in the first place?
note: these are snippets of a larger code i'm working on