How would one break out of a function with either pressing the space bar, enter, or 0 key? My goal is to create a timer in c++ that keeps the timer ticking, but when one presses either anykey, or one of the following three keys, then it will stop the process and give the timers last result.
Vincentjames501 0 Newbie Poster
aj.wh.ca 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.