~~~~~~~~~~~~CString转化为CTime的问题。~~~~~~~~~~~~~~~·
c++吧
全部回复
仅看楼主
level 1
以下代码编译没问题。但运行时出现“内存不能为read”。请指教。
CString m_GiveData = "2008-12-18";
COleDateTime timeGive;
timeGive.ParseDateTime(m_GiveData);
m_b=timeGive.GetYear();//int m_b 已经和编辑框关联了。
2011年04月07日 15点04分 1
1