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

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,879 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
966 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 83,106 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>
    

    )