摘要:
C99开始,C语言有了bool 使用: #include <stdbool.h>int main(void){bool flag;flag=true;} 阅读全文
posted @ 2021-10-08 01:11
MikeLi
阅读(70)
评论(0)
推荐(0)
摘要:
c: #include <stdbool.h> #include <stdio.h> int str_length(char str[]) { int len, i; len = 0; i = 0; while (str[i]) { i++; len++; } return len; } int m 阅读全文
posted @ 2021-10-08 01:05
MikeLi
阅读(46)
评论(0)
推荐(0)
浙公网安备 33010602011771号