strptime alternative in mingw vs2019

PANDEY Manish 21 Reputation points
2021-09-30T09:47:05.09+00:00

Hi Team,

Trying to write generic api for both windows and linux.So Do we have any alternative of strptime () in mingw or vs2019.

Regards
Manish Pandey

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,696 Reputation points
    2021-09-30T10:09:17.653+00:00

    You can find implementations from Google, like :
    strptime for C++

    (add includes :

    #include <iostream>
    #include <time.h>
    #include <iomanip>
    #include <sstream>
    

    )


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.