0_0_39819734_30303.cpp:21:6: error: variable or field 'change' declared void
21 | void change(complex y[],int len){
| ^~~~~~
0_0_39819734_30303.cpp:21:13: error: reference to 'complex' is ambiguous
21 | void change(complex y[],int len){
| ^~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ccomplex:39,
from .\stdc++.h:127:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:21:25: error: expected primary-expression before 'int'
21 | void change(complex y[],int len){
| ^~~
0_0_39819734_30303.cpp:35:6: error: variable or field 'fft' declared void
35 | void fft(complex y[],int len,int on)
| ^~~
0_0_39819734_30303.cpp:35:10: error: reference to 'complex' is ambiguous
35 | void fft(complex y[],int len,int on)
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:35:22: error: expected primary-expression before 'int'
35 | void fft(complex y[],int len,int on)
| ^~~
0_0_39819734_30303.cpp:35:30: error: expected primary-expression before 'int'
35 | void fft(complex y[],int len,int on)
| ^~~
0_0_39819734_30303.cpp:55:6: error: variable or field 'convert' declared void
55 | void convert(complex a[],complex b[],int len){
| ^~~~~~~
0_0_39819734_30303.cpp:55:14: error: reference to 'complex' is ambiguous
55 | void convert(complex a[],complex b[],int len){
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:55:26: error: reference to 'complex' is ambiguous
55 | void convert(complex a[],complex b[],int len){
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:55:38: error: expected primary-expression before 'int'
55 | void convert(complex a[],complex b[],int len){
| ^~~
0_0_39819734_30303.cpp:62:1: error: reference to 'complex' is ambiguous
62 | complex x1[maxn],x2[maxn];
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp: In function 'int main()':
0_0_39819734_30303.cpp:72:13: error: 'x1' was not declared in this scope
72 | x1[i]=complex(str1[len1-1-i]-'0',0);
| ^~
0_0_39819734_30303.cpp:72:19: error: reference to 'complex' is ambiguous
72 | x1[i]=complex(str1[len1-1-i]-'0',0);
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:74:13: error: 'x1' was not declared in this scope
74 | x1[i]=complex(0,0);
| ^~
0_0_39819734_30303.cpp:74:19: error: reference to 'complex' is ambiguous
74 | x1[i]=complex(0,0);
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:76:13: error: 'x2' was not declared in this scope
76 | x2[i]=complex(str2[len2-1-i]-'0',0);
| ^~
0_0_39819734_30303.cpp:76:19: error: reference to 'complex' is ambiguous
76 | x2[i]=complex(str2[len2-1-i]-'0',0);
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:78:13: error: 'x2' was not declared in this scope
78 | x2[i]=complex(0,0);
| ^~
0_0_39819734_30303.cpp:78:19: error: reference to 'complex' is ambiguous
78 | x2[i]=complex(0,0);
| ^~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:67:32: note: candidates are: 'template<class _Tp> class std::complex'
67 | template<typename _Tp> class complex;
| ^~~~~~~
0_0_39819734_30303.cpp:6:8: note: 'struct complex'
6 | struct complex{
| ^~~~~~~
0_0_39819734_30303.cpp:80:29: error: 'x1' was not declared in this scope
80 | printf("%.0lf ",x1[i].r);
| ^~
0_0_39819734_30303.cpp:83:29: error: 'x2' was not declared in this scope
83 | printf("%.0lf ",x2[i].r);
| ^~
0_0_39819734_30303.cpp:85:17: error: 'x1' was not declared in this scope
85 | convert(x1,x2,len);
| ^~
0_0_39819734_30303.cpp:85:20: error: 'x2' was not declared in this scope
85 | convert(x1,x2,len);
| ^~
0_0_39819734_30303.cpp:85:9: error: 'convert' was not declared in this scope; did you mean 'const'?
85 | convert(x1,x2,len);
| ^~~~~~~
| const
|