Most dogs can be trained to be nice to cats. I have three dogs and a cat, and they all get along great.

But that being said, when you are out of the house, it is best to keep them seperated, at least for the first couple of days