0_0_26925704_26396.cpp: In function 'int main()': 0_0_26925704_26396.cpp:64:22: error: cannot convert 'int*' to 'double*' for argument '2' to 'int w(int*, double*, int)' if(w(z,y,b)==b) people++; ^