# How to get the res class document to work for a resume?

So I tried to start my resume like this:

\documentclass{res}

\usepackage{graphics}
\usepackage{color}
\usepackage{fancyhdr}
\pagestyle{fancy}

\cfoot{Name}
\rfoot{\thepage}

\begin{document}

\name{Name}


I got the error Missing \begin{document}

I don't know why I keep getting this error. Any help would be appreciated.

In the resume class I believe you need to \begin{resume} as well. Here is a MWE based on yours.

\documentclass{res}

\usepackage{graphics}
\usepackage{color}
\usepackage{fancyhdr}
\pagestyle{fancy}

\cfoot{Name}
\rfoot{\thepage}