Prove that $\mathbb{Q}$ isn't homeomorphic to $\mathbb{Z}$
I know that a homeomorphism is a bijection function from two sets where both the function and its inverse are continuos.
So I figure that if I show that there is no continuos invective mapping from $\mathbb{Q}\rightarrow\mathbb{Z}$ then I have done the proof. But I do not know how to do this (if his is the right way). How can I start to show this?