La mia soluzione è C++ standard e dovrebbe funzionare... che problemi ti dà esattamente?