编程教程

  • C语言库函数-qsort()

      C语言标准库 - C语言库函数 void qsort(void *base, size_t nitems, size_t size, int (*compar)(const void *, const...

    4天前 126
  • C语言库函数-bsearch()

      C语言标准库 - C语言库函数 void *bsearch(const void *key, const void *base, size_t nitems, size_t size, int (*c...

    4天前 189
  • C语言库函数-getenv()

      C语言标准库 - C语言库函数 char *getenv(const char *name) 搜索 name 所指向的环境字符串,并返回相关的值给字符串。声明下面是 getenv() 函数的声明。ch...

    4天前 152
  • C语言库函数-exit()

      C语言标准库 - C语言库函数 void exit(int status) 立即终止调用进程。任何属于该进程的打开的文件描述符都会被关闭,该进程的子进程由进程 1 继承,初始化,且会向父进程发送一个 ...

    4天前 141
  • C语言库函数-atexit()

      C语言标准库 - C语言库函数 int atexit(void (*func)(void)) 当程序正常终止时,调用指定的函数 func。您可以在任何地方注册你的终止函数,但它会在程序终止的时候被调用...

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

      C语言标准库 - C语言库函数 void abort(void) 中止程序执行,直接从调用的地方跳出。声明下面是 abort() 函数的声明。void abort(void)参数NA返回值该函数不返回...

    4天前 167
  • C语言库函数-realloc()

      C语言标准库 - C语言库函数 void *realloc(void *ptr, size_t size) 尝试重新调整之前调用 malloc 或 calloc 所分配的 ptr 所指向的内存块的大小...

    4天前 101
  • C语言库函数-malloc()

      C语言标准库 - C语言库函数 void *malloc(size_t size) 分配所需的内存空间,并返回一个指向它的指针。声明下面是 malloc() 函数的声明。void *malloc(si...

    5天前 79
  • C语言库函数-free()

      C语言标准库 - C语言库函数 void free(void *ptr) 释放之前调用 calloc、malloc 或 realloc 所分配的内存空间。声明下面是 free() 函数的声明。void...

    5天前 149
  • C语言库函数-calloc()

      C语言标准库 - C语言库函数 void *calloc(size_t nitems, size_t size) 分配所需的内存空间,并返回一个指向它的指针。malloc 和 calloc 之间的不同...

    5天前 159
  • C语言库函数-strtoul()

      C语言标准库 - C语言库函数 unsigned long int strtoul(const char *str, char **endptr, int base) 把参数 str 所指向的字符串根...

    5天前 68
  • C语言库函数-strtol()

      C语言标准库 - C语言库函数 long int strtol(const char *str, char **endptr, int base) 把参数 str 所指向的字符串根据给定的 base ...

    5天前 83
  • C语言库函数-strtod()

      C语言标准库 - C语言库函数 double strtod(const char *str, char **endptr) 把参数 str 所指向的字符串转换为一个浮点数(类型为 double 型)。...

    5天前 58
  • C语言库函数-atol()

      C语言标准库 - C语言库函数 long int atol(const char *str) 把参数 str 所指向的字符串转换为一个长整数(类型为 long int 型)。声明下面是 atol() ...

    5天前 55
  • C语言库函数-atoi()

      C语言标准库 - C语言库函数 int atoi(const char *str) 把参数 str 所指向的字符串转换为一个整数(类型为 int 型)。声明下面是 atoi() 函数的声明。int a...

    5天前 130

联系我们

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

咨询电话:400-998-2681

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