是否有strptime()适用于Windows的等效实现?不幸的是,这个POSIX功能似乎不可用.
strptime()
打开strptime的组描述 - 摘要:它将文本字符串转换"MM-DD-YYYY HH:MM:SS"为a tm struct,与之相反strftime().
"MM-DD-YYYY HH:MM:SS"
tm struct
strftime()
c c++ windows datetime
我写了这个非常好的应用程序,在Linux中运行良好.
它使用strptime().Windows没有这个.
有替代方案吗?
我的同事需要使用这个应用程序.
(我试过谷歌搜索已经无济于事)
c c++ linux windows visual-studio
c ×2
c++ ×2
windows ×2
datetime ×1
linux ×1
visual-studio ×1