- 博客(2)
- 资源 (5)
- 收藏
- 关注
原创 python datatime/string转换
import datetimeimport time#string to datetimestr = '2015-11-19'date_time = datetime.datetime.strptime(str,'%Y-%m-%d')#datetime to stringstr = date_time.strftime
2015-12-15 08:56:13 508
原创 vc++中类型转化
在开发中经常会遇到类型不匹配的问题,这里在网上搜集了些资料做了整理,以便以后使用,在不断更新中。。。1、string to CStringCString str.format("%s",string.c_str()); 2、CString to stringstring str(CString.GetBuffer(str.GetLength()));或
2015-11-19 09:49:02 211
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人