Having some trouble with this question.
Let $X$ be a metric space in which every infinite subset has a limit point. Prove that $X$ is compact. Hint: By Exercises 23 and 24, $X$ has a countable base. It follows that every open cover of $X$ has a countable subcover ${G_n}$, $n = 1, 2, 3, ....$ If no finite subcollection of ${G_n}$ covers $X$, then complement $F_n$ of $G_1 \cup \dots \cup G_n$ is nonempty for each $n$, but $\bigcap F_n$ is empty. If $E$ is a set which contains a point from each $F_n$, consider a limit point of $E$, and obtain a contradiction.
I cannot justify the phrase "It follows that every open cover of $X$ has a countable subcover ${G_n}$, $n = 1, 2, 3, ....$", am I overlooking something simple? Is there a simple map between the countable base and any open subcover?