scusa hai ragione... basta che sostituisci cout e cin con printf e scanf.... ciao!