标签:style 自用 rgba get bsp stdin strlen har nbsp
忘了从哪里找的了...
char s[10001]; fgets(s,10005,stdin);
int n = strlen(s);
if (s[n - 1] == ‘\n‘ && s[n] == ‘\0‘)
{
s[n - 1] = ‘\0‘;
}
n = strlen(s);
标签:style 自用 rgba get bsp stdin strlen har nbsp
原文地址:https://www.cnblogs.com/moonjumper/p/14015422.html