Heavy-flavour production is an active and highly interesting field of research. Since charm and beauty quarks are predominantly produced in the hard scattering process of colliding nuclei, they serve as unique probes to study the quark-gluon plasma in \PbPb{} collisions. In addition, recent investigations of hadronisation mechanisms have revealed interesting and unexpected features when comparing measurements in \ee{} and in hadronic collisions as in \pp{}, \pPb{} and \PbPb{}. This article summarises the latest results of charm production measured by the ALICE Collaboration. For the first time, \Scnullpp{} and \Onull{} were measured in hadronic collisions and production measurements of the \Lc{} and \Xcnull{} are now included in the computation of the charm production cross section.