On 9/4/07, remarknibor <[EMAIL PROTECTED]> wrote:
> Hi.
>
>  I was wondering how to have a timer running while accepting a user's
>  input. Specifically, I am having someone write an essay and I'm saving
>  it to a variable when it's done using 'getline(cin,essay)'. However,
>  while the person is typing their essay, nothing else in the programme
>  is happening, and I'd actually like to be able to time their writing
>  and stop them when 10 minutes has passed.
>
>  Any ideas as to how I could achieve this?


What OS do you want this in?
If Windows, search for WM_TIMER

Cheers
- Ananth

Reply via email to