king.cpp:2:20: error: 'long long int SendInfo' redeclared as different kind of symbol
long long SendInfo(vector <int> W, vector <int> C)
^~~~~~
In file included from king.cpp:1:0:
king.h:3:11: note: previous declaration 'long long int SendInfo(std::vector<int>, std::vector<int>)'
long long SendInfo(std::vector<int> W, std::vector<int> C);
^~~~~~~~
king.cpp:2:20: error: 'vector' was not declared in this scope
long long SendInfo(vector <int> W, vector <int> C)
^~~~~~
king.cpp:2:20: note: suggested alternative:
In file included from /usr/include/c++/7/vector:64:0,
from king.h:2,
from king.cpp:1:
/usr/include/c++/7/bits/stl_vector.h:216:11: note: 'std::vector'
class vector : protected _Vector_base<_Tp, _Alloc>
^~~~~~
king.cpp:2:28: error: expected primary-expression before 'int'
long long SendInfo(vector <int> W, vector <int> C)
^~~
king.cpp:2:36: error: 'vector' was not declared in this scope
long long SendInfo(vector <int> W, vector <int> C)
^~~~~~
king.cpp:2:36: note: suggested alternative:
In file included from /usr/include/c++/7/vector:64:0,
from king.h:2,
from king.cpp:1:
/usr/include/c++/7/bits/stl_vector.h:216:11: note: 'std::vector'
class vector : protected _Vector_base<_Tp, _Alloc>
^~~~~~
king.cpp:2:44: error: expected primary-expression before 'int'
long long SendInfo(vector <int> W, vector <int> C)
^~~