We discuss the Monte Carlo simulation of heavy quark production in hig
h-p(t) jets. An algorithm is described that allows such rare processes
to be studied in a realistic amount of computer time. The results of
the algorithm are compared with analytical calculations for a colour-s
inglet source, and a fixed-order matrix-element calculation for hadron
-hadron collisions.