Grazie per la seconda volta MItaly , adesso mi funziona anche in c++ :-)