No Description

filter.cpp 152B

123456789
  1. #include "bird.h"
  2. void FilterBirds(Bird birds[], int N){
  3. for(int i = 0; i < N; i++){
  4. if(i % 3 == 0)
  5. birds[i].hide() ;
  6. }
  7. }