/*************************************************************************
> File Name: ex5.11.cpp
> Author:
> Mail:
> Created Time: Sun 11 Feb 2024 12:48:36 PM CST
************************************************************************/#include<iostream>#include<vector>usingnamespace std;intmain(){unsigned aCnt =0, eCnt =0, iCnt =0, oCnt =0, uCnt =0;unsigned space =0, tab =0, newline =0;unsigned ff =0, fl =0, fi =0;
string ch;while(getline(cin, ch)){++newline;for(auto s = ch.begin(); s != ch.end(); s++){switch(*s){case'a':case'A':++aCnt;break;case'e':case'E':++eCnt;break;case'i':case'I':++iCnt;break;case'o':case'O':++oCnt;break;case'u':case'U':++uCnt;break;case' ':++space;break;case'\t':++tab;break;default:break;}}for(auto s = ch.begin(); s != ch.end(); s++){if(*s =='f'){if(*(s +1)=='f'){
ff++;}elseif(*(s +1)=='l'){
fl++;}elseif(*(s +1)=='i'){
fi++;}}}}
cout<<"Number of vowel a, A:\t"<<aCnt<<endl;
cout<<"Number of vowel e, E:\t"<<eCnt<<endl;
cout<<"Number of vowel i, I:\t"<<iCnt<<endl;
cout<<"Number of vowel o, O:\t"<<oCnt<<endl;
cout<<"Number of vowel u, U:\t"<<uCnt<<endl;
cout<<"Number of space:\t"<<space<<endl;
cout<<"Number of tab:\t\t"<<tab<<endl;
cout<<"Number of newline:\t"<<newline<<endl;
cout<<"Number of ff:\t\t"<<ff<<endl;
cout<<"Number of fl:\t\t"<<fl<<endl;
cout<<"Number of fi:\t\t"<<fi<<endl;return0;}
OPC基金会宣布推出与清洁能源和智能制造创新研究所(CESMII)共同开发的全球可用的UA云库。凭借其多云架构,UA 云库见证了所有主要云供应商利用开放接口的贡献,并可用于共享、查找和协作 OPC UA 信息模型。如今,UA云库已…