Then tell from keyboard input to the array and the address to a function, there is a long cycle so I'm not cut out
Here is the following introduction I do
Then enter into the function
Program is crashed, and looking for a long time can't find the reason, so I can only see can someone do me a favor,
CodePudding user response:
Can look up the call stack? Or in your search string has several separators, one-time allocation splitstruct - & gt; The space of STR, don't apply again
CodePudding user response:
I think the incoming is the address of the input array, sizeof (input) and can't get the size of the array, only by the size of the pointer
CodePudding user response:
Array collapse, usually in the subscript crossing the line