plane testing

Someone please post some straightforward code to test if a bounding box/cube intersects with the viewing frustum planes. I have been trying to implement that for days I’m going nuts over it please !