Let $X$ be a non-compact connected Hausdorff space in which every point has a compact neighborhood. Show $X'=X\cup\{\infty\}$ is compact and connected, $X'$ takes on the one point compactification, where $X'$ denotes the Alexandroff one-point compactification of $X$.
Another question I'm solving to prepare for an exam. To show $X'$ is compact, what do I take as the open cover of $X'$? And I am looking for an outline of why $X'$ is connected