quake bsp files

how do I render the vertex and stuf… I know how to read it… but I don´t know how I´m going to render it… anyone got some exampelcode ?