Problem with simple timer [solved]

hello, I just got my arduino and I am trying to make a simple timer, all the timer needs to do is start to count when I hit button 1, and reset when i hit button 2. When I try and download the simple timer arduino library it doesn't work. I was wondering if anyone could help me under stand how to make a simple timer?

thanks
Student238

Moderator edit: Subject changed from "help?" to something more meaningful. (Nick Gammon)

student238:
it doesn't work.

Probably the worst possible way to describe an issue you're having.

Read the sticky about getting help on these forums.

right, it displays an error and it won't compile. attached is the code and the site i found it from.

simpletimer.txt (401 Bytes)

Read this before posting a programming question

What error?

You can post such simple code right here on the forum, inside [code] tags.

well i don't know what i did but the timer works. sorry for you troubles

student238

student238:
right, it displays an error and it won't compile. attached is the code and the site i found it from.

For future questions, please note that "it" is as vague as saying "doesn't work". The more specific you make the information in your question, the higher quality answer you will get.