  In the framework of Quark--Gluon--String Model developed recently in ITEP we
calculate spectra of charmed particles $D$, $D_s$, $\Lambda_c$, $\Xi_c$,
$\Omega_c$ in hadron--hadron collisions taking into account the decays of
$S$--wave resonances like $D^*$, $D^*_s$, $\Sigma_c$, $\Sigma^*_c$, $\Xi^*_c$,
$\Xi'_c$, and $\Omega^*_c$. We describe the bulk of the existing data on $D$,
$D^*$, and $\Lambda_c$ production in $\pi p$ and $pp$ collisions and predict
the yield of charmed particles in $\Sigma^-p$ and $\Xi^-p$ reactions at hyperon
beam energies of $340\;GeV/c$ and $600\;GeV/c$. Because of significant
production of baryon resonances our predictions for unfavored fragmentation
differ from predictions of other models which do not take resonance production
into account.
