convertion

This is a discussion on convertion within the C Programming forums, part of the General Programming Boards category; Hi, I would like to ask is there a way to convert any time like 23:12 so that i can ...

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

    convertion

    Hi,

    I would like to ask is there a way to convert any time
    like 23:12 so that i can use to subtract another time

    And if i enter a password that already encoded with the
    '********' hope i put the backspace, so that i can correct the wrong entry

    Thank
    Last edited by leinad079; 03-27-2003 at 06:35 AM.

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Dev
    Dev is offline
    Registered User Dev's Avatar
    Join Date
    Mar 2003
    Posts
    59
    If you are do it yourself type then take some time as reference. Say twelve at night as 0.

    Then convert both times into minutes. And calculate difference then convert difference back into hours and minutes form.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. convertion string to char ch[]
    By cubimongoloid in forum C++ Programming
    Replies: 6
    Last Post: 05-29-2009, 06:23 PM
  2. Convertion between Windows and OpenGL coords
    By Gravedigga in forum Windows Programming
    Replies: 1
    Last Post: 12-28-2003, 08:10 AM
  3. Turbo C++, Convertion problem
    By paulroseby in forum C Programming
    Replies: 4
    Last Post: 05-08-2003, 05:23 PM
  4. Convertion from struct to 'const char'
    By doampofo in forum C++ Programming
    Replies: 3
    Last Post: 04-17-2003, 09:08 AM
  5. image convertion jpg -> pgm
    By AtomRiot in forum C++ Programming
    Replies: 5
    Last Post: 01-31-2003, 05:34 PM

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