限制输入的汉字小于50个字

string str=“xxxxx”;

if(str.count()>50){



}

 

posted @ 2022-11-29 11:43  程序杨%  阅读(39)  评论(0编辑  收藏  举报