Puoi anche non staccare il disco USB, basta formattare solo l'interno.
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum