0_0_19234818_29556.cpp: In function 'int main()':
0_0_19234818_29556.cpp:22:51: error: 'j' was not declared in this scope
if((c + k)%2 == 0 && (c - j)>=0){
^
0_0_19234818_29556.cpp:57:33: error: invalid conversion from 'int' to 'char*' [-fpermissive]
if(xx > yy) swab(xx , yy);
^
0_0_19234818_29556.cpp:57:33: error: invalid conversion from 'int' to 'char*' [-fpermissive]
0_0_19234818_29556.cpp:57:33: error: too few arguments to function 'void swab(char*, char*, int)'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/assert.h:17:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:33,
from 0_0_19234818_29556.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:616:16: note: declared here
void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
^
|