devi mettere un system("pause") prima di return, la libreria è stdlib.h ciao!