winged-edge data structure

Do you know any good program example which implement the winged-edge data-structure as I’m finding it hard to use

I just would like to know how to detect the adjacent faces of each edge of an object

Thaks a lot