Home > Back-end >  C ask bosses
C ask bosses

Time:09-25

Under a c work, don't know much about an error is how this

CodePudding user response:

Don't post pictures can post code

CodePudding user response:

Printf (" according to the scores ranking ") in front of a less}

CodePudding user response:

refer to the second floor arfi response:
printf (" according to the scores ranking ") in front of a less}

Yes, solved some, but the warning is in

CodePudding user response:

reference 1/f, 5250 response:
can post pictures code don't

Is directly copy the code to the head?

CodePudding user response:

You this error code is a bit more

Char is a single-byte variables, only one character at a time, if it is character, you most multi-purpose '#', if you want to use two end, you have to string (character array) storage, when compared with STRCMP function,

CodePudding user response:

reference 4 floor qq_47279096 response:
Quote: reference 1/f, 5250 response:
can post pictures code don't

Is directly copy the code to the head?


reference 4 floor qq_47279096 response:
Quote: reference 1/f, 5250 response:
can post pictures code don't

Is directly copy the code to the head?


Is ah next time to ask questions posted the code can run directly kao past or others debugging if you write this post pictures unless is flat wrong other errors are ugly

CodePudding user response:

Instead of 11 lines
 if (* *) (short & amp; [I]==x (' # '& lt; <8) | | '#') 

Reason "# #" (not '\ 0') of two bytes, cannot use char comparison, using short can compare

CodePudding user response:

Will write wrong, | | | instead
  • Related