countdown alarm clock
$10-30 USD
货到付款
C#
Write a countdown alarm clock program that uses delegates to notify anyone who is interested that the designated amount of time has passed. You’ll need a class to simulate the countdown clock that accepts a message and a number of seconds to wait (supplied by caller). After waiting the appropriate amount of time, the countdown clock should call the delegate and pass the message to any registered observers. (When you're calculating the time to wait, remember that [login to view URL]() takes an argument in milliseconds, and requires a using [login to view URL] statement.) Your countdown clock class should contain a way to create and set the clock appropriate data, a way to start the alarm clock running, a way to pause the alarm clock, a way to resume the countdown, and a way to abort the alarm clock.
Create an observer class that echoes the received message to the console. Be certain that the event can be published to multiple handlers safely.
Create a driver that demonstrates your program using at least 3-4 observers along with at least 2-3 different usages of the alarm clock with times in the range 3-10 seconds. Be certain that your driver demonstrates the complete functionality of your alarm clock by exercising each of its methods at least once.
项目ID: #16745075
关于项目
授予:
Dear sir I have full experience of c++ and algorithms I just joined in freelance but I started long ago. I am full confident to complete your project and I do my best if you let me bid on yours. I focus on client's 更多
有5名威客正在参与此工作的竞标,均价$27/小时
How r u?Bro,,Its me imad,,,Have done 200+ projects regarding matlab, arduino, C#, matlab and php. U will feel brotherhood...........