读入带空格的字符串 1.(只有c语言中含有get)#include<string.h>#include<stdio.h>int main(){ char s[105]; gets(s); printf("%d",strlen(s)); return 0;}#include <iostream>#include <cstring>using namespace s c语言字符串 2023-05-30 54 点赞 0 评论 81 浏览