Home > Back-end >  C the find function should be how to use?
C the find function should be how to use?

Time:09-17


CodePudding user response:

Found no. 1

CodePudding user response:

reference 1/f, Simple, Soft reply:
found no. 1
hello, not quite understand, is a problem with my code, why generate this odd Numbers?

CodePudding user response:

That number is 1

CodePudding user response:

Is 1, the output format is unsigned int

CodePudding user response:

Thank you, has been solved

CodePudding user response:

Wait a moment, I came back again o (╥ man ╥) o
The code below

The program returns 0, instead of one, is this why?

CodePudding user response:

Return 0 is to find the
The return value is to find the index of the characters

CodePudding user response:

refer to 7th floor gp341 response:
0 is found
The return value is find character index

Hello, could you tell me the meaning of the index is what ah? Is its location, character array subscript, is that the Numbers in the brackets?

CodePudding user response:

The index is found in the array of characters which one

CodePudding user response:

references 9 f gp341 response:
index is found in the array of characters which one

The "0" represents a "0"? and I just tried it on other colors, unexpectedly also returns 0  confused...

CodePudding user response:

Print statements is not right

CodePudding user response:

11 references gp341 response:
print statements is not right.
HMM? That is something wrong?
  • Related