C error C2078:too many initializers#include "stdafx.h"#include "stdio.h"int toascii(char c){\x05return ((int) c);}void main(){\x05char s; int mycount[3]={0,0,0,0};\x05while((s=getchar())!='\n')\x05{\x05\x05if((toascii(s)>=toascii('A') && toascii(s)=t

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/28 08:44:34
C error C2078:too many initializers#include =toascii('A') && toascii(s)=t" />
xN0_8&C!^Jb1:r%m {.|_hCZ_ARZ+ *s.-6(lq\v"T]҂Ud$+6EtB:va>(̻$M n|Zڛ[DGhc=X B m `*Z?ǝ8# CS_6ɝp9"|<`_떡]?Z_ [#UW|J*MOY_&431

C error C2078:too many initializers#include "stdafx.h"#include "stdio.h"int toascii(char c){\x05return ((int) c);}void main(){\x05char s; int mycount[3]={0,0,0,0};\x05while((s=getchar())!='\n')\x05{\x05\x05if((toascii(s)>=toascii('A') && toascii(s)=t
C error C2078:too many initializers
#include "stdafx.h"
#include "stdio.h"
int toascii(char c)
{
\x05return ((int) c);
}
void main()
{
\x05char s; int mycount[3]={0,0,0,0};
\x05while((s=getchar())!='\n')
\x05{
\x05\x05if((toascii(s)>=toascii('A') && toascii(s)=toascii('a') && toascii(s)

C error C2078:too many initializers#include "stdafx.h"#include "stdio.h"int toascii(char c){\x05return ((int) c);}void main(){\x05char s; int mycount[3]={0,0,0,0};\x05while((s=getchar())!='\n')\x05{\x05\x05if((toascii(s)>=toascii('A') && toascii(s)=t
int mycount[3]={0,0,0,0};
改成int mycount[4]={0,0,0,0};