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? Thanks in advance for the help, Robin.
