Program help!!!

This is a discussion on Program help!!! within the C++ Programming forums, part of the General Programming Boards category; I'm also required to develop a clock class that represents time using three int variables - hours, minutes, and seconds. ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    24

    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
    Posts
    1,916
    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.
    Away.

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, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21