func: static void goodB2G() vector < int > countVector ; goodB2GSink ( countVector ); void goodB2GSink(vector<int> countVector) int count = countVector [ 2 ] ; const char * filename = "output_good.txt" ; if ( count > 0 && count <= 20 )  pFile = fopen ( filename , "w+" ); for (i = 0; i < (size_t)count; i++) if ( strlen ( SENTENCE ) != fwrite ( SENTENCE , sizeof ( char ) , strlen ( SENTENCE ) , pFile ) )  