

How is this to return a responsibility excuse me, your bosses
CodePudding user response:
Index exceeded, see if pt no I subscript elements, and sarry elementsCodePudding user response:
for (int I=0; i
A little modificationCodePudding user response:
Learning, thanks for sharingCodePudding user response:
First, you need to check your reading of the text of the document content, a row of data may have a problem, sArray [1], the line should have at least one comma, such as "XXXX, XXXX" is not an error,
In the second, possibly triPoint is empty, can't see you above how to write, but looking at triPoint. Add there braces, whether in the if statement? Check the if condition, could not enter the if statement to not give triPoint. Add no execution,CodePudding user response:
Learn how to use debug "watch window" debugging your sArray variables, learn how to use "stack window" of the layers of debugging the system call entrance variables, stick stick to his own deep debugging picture with step 1, 2, don't post a wrong picture,CodePudding user response:
Relatively speaking, writing code is not important, more important is to be able to debug, how to distinguish the others around you? See debugging techniques!
So ask yourself before debugging, post your debugging results (for instance variable is null, take up how many units of data), can be a lot less "fearless" problem,