As Lady Sedai said, a female dog and male cat works well. My aunt has that combo, and got them both young (a short-hair orange stray and a black lab). The cat is a bit older than the dog - it was bigger than the dog when she got the puppy.
They are fast friends; I've seen them sleeping together in a heap, and the cat is SO not afraid of the dog.