Hi, i'm new here and this is my first tread. I'm a computer student and trying to gain usefull that may be valuable latter on, so...
Is there anyway to make a counter in c++? I've been looking and i've found none yet(similar but no what i want).
What i mean by a counter/timer is, if X doens't happen until Y seconds then Z happens. For example:
cout<< "What's your name?;
cin << name;
//and something like
if users takes more than 30seconds to answer then
cout << "to late";
got any ideas?
i'm starting, i can make programs, nothing to fancy but nothing great, So if there's any thing you've come across that has revealed itself valuable like this thread i read "I need special stuff in my project like system("cls")" PLEASE tell me. It would help alot!
Anyway, thanks. Hope to hear from you