Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: AwkwardRaven

Search: Search took 0.01 seconds.

  1. Re: Convert MM/DD/YY hh:mm stream to integer?

    so


    void calculateParkingHours ()
    {

    enteringMins += ( enterY * 365 * 29 * 60 );
    enteringMins += ( enterM * 12 * 29 * 60 );
    enteringMins += ( enterD * 29 * 60 );
    enteringMins += ( enterH *...
  2. [Help very much appreciated] with time functions and calculations

    I'm writing a program to calculate a fee based on the time that a car is parked in a theoretical garage. But my time function doesn't seem to be giving me the correct number of minutes... I would...
  3. Re: Convert MM/DD/YY hh:mm stream to integer?

    so if I extrapolated separate integers from a stream MM/DD/YY hh:mm what would be the exact syntax to use to convert that into a time format C++ can recognize and contrasts between two different...
  4. Re: Convert MM/DD/YY hh:mm stream to integer?

    then how would I specify the time for difftime from a string formatted in MM/DD/YY hh:mm?
  5. Re: Convert MM/DD/YY hh:mm stream to integer?

    Why do I need .c_str() also if I use difftime can I define my own times?
  6. Re: Convert MM/DD/YY hh:mm stream to integer?

    thank you for replying but that's not what I would hope to do.

    This is what I have so far:


    #include <iostream>
    #include <string>
    #include <iomanip>
    #include <cmath>
    #include <cstring>
  7. Convert MM/DD/YY hh:mm stream to integer?

    Hello,

    I'm trying to read in two instances of date and time (from user input) into a string value (MM/DD/YY hh:mm).
    I need to be able to calculate the difference between the two in order to...
Results 1 to 7 of 7


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center