适用vs2010碰到的问题
描述: 程序写好后,编译没有错,运行时候点击按钮报错: f:\dd\vctools\crt_bld\self_x86\crt\src\strftime.c
代码: CTime time = CTime::GetCurrentTime();
CString strTime = time.Format("%Y-%m-%d %H:%M:%S");
错误原因,将y写成了小写,将s写成了小写。
代码: CTime time = CTime::GetCurrentTime();
CString strTime = time.Format("%Y-%m-%d %H:%M:%S");
错误原因,将y写成了小写,将s写成了小写。