T
Terry Andersen
Why do my compiler error about:
parse error before `check_arrays' when executing this piece of code:
bool check_arrays(unsigned char* in_array){
if((global_IP[0] == *(in_array)) && (global_IP[1] == *(in_array+1)) &&
(global_IP[2] == *(in_array+2)) && (global_IP[3] == *(in_array+3))){
return true;
}
else{return false;}
}
Do I need some includes to use the "bool"???
Best Regards
Terry
parse error before `check_arrays' when executing this piece of code:
bool check_arrays(unsigned char* in_array){
if((global_IP[0] == *(in_array)) && (global_IP[1] == *(in_array+1)) &&
(global_IP[2] == *(in_array+2)) && (global_IP[3] == *(in_array+3))){
return true;
}
else{return false;}
}
Do I need some includes to use the "bool"???
Best Regards
Terry