foo.cc: In function 'int main()':
foo.cc:19:18: error: initializer-string for array of chars is too long [-fpermissive]
19 | char week[7][3]={"日","一","二","三","四","五","六"}, atc[100];
| ^~~~~
foo.cc:19:24: error: initializer-string for array of chars is too long [-fpermissive]
19 | char week[7][3]={"日","一","二","三","四","五","六"}, atc[100];
| ^~~~~
foo.cc:19:30: error: initializer-string for array of chars is too long [-fpermissive]
19 | char week[7][3]={"日","一","二","三","四","五","六"}, atc[100];
| ^~~~~
foo.cc:19:36: error: initializer-string for array of chars is too long [-fpermissive]
19 | char week[7][3]={"日","一","二","三","四","五","六"}, atc[100];
| ^~~~~
foo.cc:19:42: error: initializer-string for array of chars is too long [-fpermissive]
19 | char week[7][3]={"日","一","二","三","四","五","六"}, atc[100];
| ^~~~~
foo.cc:19:48: error: initializer-string for array of chars is too long [-fpermissive]
19 | char week[7][3]={"日","一","二","三","四","五","六"}, atc[100];
| ^~~~~
foo.cc:19:54: error: initializer-string for array of chars is too long [-fpermissive]
19 | char week[7][3]={"日","一","二","三","四","五","六"}, atc[100];
| ^~~~~
foo.cc:20:25: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
20 | for( int y, m, d; system("cls"), cout<<"1、输入年份打印出月份表"<<endl<<"2、计算星期"<<endl<<"0、退出"<<endl, cin>>atc; system("pause"))
| ~~~~~~^~~~~~~
foo.cc:20:146: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
20 | for( int y, m, d; system("cls"), cout<<"1、输入年份打印出月份表"<<endl<<"2、计算星期"<<endl<<"0、退出"<<endl, cin>>atc; system("pause"))
| ~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务