[FLUG] Re: [CODE] problema con gli array

Mailing List del Fortunae LUG
=============================

From: "Carlo Minucci" <gecco@xxxxxxxxxxxx>
To: <fanolug@xxxxxxxxxxxxx>
Sent: Friday, August 01, 2003 8:37 PM
Subject: [FLUG] [CODE] problema con gli array


> Mailing List del Fortunae LUG
> =============================
>
> io c`ho un array, come faccio a levare dall`array tutte le voci uguali?
> lasciandone solo una?

Sorti l'array, iteri su tutti gli elementi e li confronti con tutti gli
altri (meno se stessi ovviamente)... e intanto popoli un altro array senza
duplicati...

Dico bene?

Lo

-- 
«Just in terms of allocation of time resources, religion is not very efficient. 
There's a lot more I could be doing on a Sunday morning.» Bill Gates

Other related posts: