The Artima Developer Community
Sponsored Link

Design Forum
newbie-Q. Deciding on classes

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
steve

Posts: 1
Nickname: steviebdhp
Registered: Mar, 2004

newbie-Q. Deciding on classes Posted: Mar 3, 2004 9:01 AM
Reply to this message Reply
Advertisement
Hi folks,

Asked to produce a C++ program to model congestion charging. Approx coding time 8 hours. What would you choose as your classes?

Obviously Driver, Vehicle, Time.
With attributes such as name, registratoin, ttlChrg, (location?) etc...

But would you consider a Zone, Route and other classes also discuss...

[Thanks in advance for any tips, please don't flame me]
P.S. I'm not expecting comprehensive answers here!!!

Topic: To use inheritance or not Previous Topic   Next Topic Topic: Discussion forum

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use