Following on from the last challenge, Traffic Lights - Complete the Code, in this challenge you are to add a feature for pedestrians as demonstrated in this executable. 'D' is 'Don't Walk', and 'W' is 'Walk'.
What you will need
It is advised at the very least that you use either Visual C++ 2008/2010 Express Editions. You are free to use whichever IDE you wish, but if it breaks I won't be any help - I'll just say 'use Visual C++ Express'.
What is provided
Please build on the completed code for the last challenge to implement this extra feature. It is up to you, either as a group to share ideas on this thread (recommended) or indivdually (not recommended), on the appropriate implementation.
Rules that must not be broken!
DO NOT PM me asking for help or hints - this is a challenge and I shall be remaining silent unless things really start going off the rails.
DO NOT use any other language apart from C++, as this serves as a little lesson in smarter ways to code in the language.
Deadline
The challenge which will close on March 28th, 2012. After this dealine I will submit my solution and offer comments and/or suggestions for those who have attempted it.
This post has been edited by ButchDean: 16 March 2012 - 01:44 PM
Reason for edit:: Class declarations will need to be altered, in fact. ;)

New Topic/Question
Reply



MultiQuote





|