Theorem
The cylinder, torus and cube are compact spaces.
Proof
The cube is homemorphic to the product spacein
with the usual Euclidean topology.
is compact in
with the usual Euclidean topology. Use Tchonoff's Theorem then the product space
and the cube are compact.
The torus and cylinder are homeomorphic to the product spacesand
respectively, hence both are compact by Tychonoff's Theorem.