编程教程

  • C语言库函数-memset()

      C语言标准库 - C语言库函数 void *memset(void *str, int c, size_t n) 复制字符 c(一个无符号字符)到参数 str 所指向的字符串的前 n 个字符。声明下面...

    3天前 142
  • C语言库函数-memmove()

      C语言标准库 - C语言库函数 void *memmove(void *str1, const void *str2, size_t n) 从 str2 复制 n 个字符到 str1,但是在重叠内存块...

    3天前 124
  • C语言库函数-memcpy()

      C语言标准库 - C语言库函数 void *memcpy(void *str1, const void *str2, size_t n) 从存储区 str2 复制 n 个字节到存储区 str1。声明下...

    3天前 190
  • C语言库函数-memcmp()

      C语言标准库 - C语言库函数 int memcmp(const void *str1, const void *str2, size_t n)) 把存储区 str1 和存储区 str2 的前 n 个...

    3天前 66
  • C语言库函数-wctomb()

      C语言标准库 - C语言库函数 int wctomb(char *str, wchar_t wchar) 把宽字符 wchar 转换为它的多字节表示形式,并把它存储在 str 指向的字符数组的开头。声...

    3天前 161
  • C语言库函数-wcstombs()

      C语言标准库 - C语言库函数 size_t wcstombs(char *str, const wchar_t *pwcs, size_t n) 把宽字符字符串 pwcs 转换为一个 str 开始的...

    3天前 92
  • C语言库函数-mbtowc()

      C语言标准库 - C语言库函数 int mbtowc(whcar_t *pwc, const char *str, size_t n) 把一个多字节序列转换为一个宽字符。声明下面是 mbtowc() ...

    3天前 57
  • C语言库函数-mbstowcs()

      C语言标准库 - C语言库函数 size_t mbstowcs(schar_t *pwcs, const char *str, size_t n) 把参数 str 所指向的多字节字符的字符串转换为参数...

    3天前 183
  • C语言库函数-mblen()

      C语言标准库 - C语言库函数 int mblen(const char *str, size_t n) 返回参数 str 所指向的多字节字符的长度。声明下面是 mblen() 函数的声明。int m...

    3天前 111
  • C语言库函数-srand()

      C语言标准库 - C语言库函数 void srand(unsigned int seed) 播种由函数 rand 使用的随机数发生器。声明下面是 srand() 函数的声明。void srand(un...

    3天前 61
  • C语言库函数-rand()

      C语言标准库 - C语言库函数 int rand(void) 返回一个范围在 0 到 RAND_MAX 之间的伪随机数。RAND_MAX 是一个常量,它的默认值在不同的实现中会有所不同,但是值至少是 ...

    4天前 198
  • C语言库函数-ldiv()

      C语言标准库 - C语言库函数 div_t div(long int numer, long int denom) 把 numer(分子)除以 denom(分母)。声明下面是 ldiv() 函数的声明...

    4天前 113
  • C语言库函数-labs()

      C语言标准库 - C语言库函数 long int labs(long int x) 返回 x 的绝对值。声明下面是 labs() 函数的声明。long int labs(long int x)参数 x...

    4天前 118
  • C语言库函数-div()

      C语言标准库 - C语言库函数 div_t div(int numer, int denom) 把 numer(分子)除以 denom(分母)。声明下面是 div() 函数的声明。div_t div(...

    4天前 82
  • C语言库函数-abs()

      C语言标准库 - C语言库函数 int abs(int x) 返回 x 的绝对值。声明下面是 abs() 函数的声明。int abs(int x)参数 x -- 完整的值。返回值该函数返回 x 的绝...

    4天前 130

联系我们

在线咨询:点击这里给我发消息

咨询电话:400-998-2681

工作时间:7*24小时无休