跳到主要内容

标准库


#include<stdio.h>
#include<stdbool.h>
#include<tgmath.h>
#include<string.h>

string.h​

  • strcmp 比较两个字符串
  • strncmp 比较两个字符串的前n个字符?