Question:
Use an example to show the difference between strerror and perror.
Use an example to show the difference between strerror and perror.
Implement Python string function split() with C in your own way.
!doctype>
Implement the existing string function strtol() in your own way. The usage of the function should be the same with the standard version, including the return value.
long int mystrtol(const char *nptr, char **endptr, int base);
!doctype>
Input a string and replace the keyword with the new word. The keyword search is case-insensitive.
!doctype>
Input a hex string and print its string according to the reverse bit order encoding of ASCII. The hex string should be ended with 00.
!doctype>
解法:
Given a quadratic polynomial, please determine whether the polynomial has two distinct real roots, one real root or no real roots.
!doctype>
Input an unsigned 16-bits integer and flip the number’s hex form.
!doctype>
Input two three-digits non-negative integers and print the calculation process.
!doctype>
|
pygame.error: Failed loading libmpg123-0.dll: 找不到指定的模組。 |