Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int check(ship f[], location l){
- int found = -1;
- for(int i = 0; i<FLEET_SIZE; i++){
- if(match(f[i],l)){
- return(i);;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement