Thread: Program help!!!

  1. #1
    Registered User
    Join Date
    Mar 2003

    Program help!!!

    I'm also required to develop a clock class that represents time using three int variables - hours, minutes, and seconds.

    I need to:

    1) set the time
    2) return the time
    3) print the time
    4) increment the time by 1 second
    5) increment the time by 1 minute
    6) increment the time by 1 hour
    7) Compare the two times for equality

    I then have to compile a program that tests these values...HELP!!!

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Post what you have done or tried (in code tags), and you'll be a lot more likely to get help. That way we'll know that you've actually put forth some effort yourself.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM