VC字符串根据指定字符分割成CStringArray 用法:CSplitStrSplit;CStringm_sText="鹅鹅鹅,曲项向天歌,白毛浮绿水,红掌拨清波";Split.SetSplitFlag(",");Split.SetSequenceAsOne(TRUE);Split.SetData(m_sText);CStringArrayarray
MFC对话框程序创建状态栏 用的vs2010 编写的。关键代码: VERIFY( m_StatusBar.Create(WS_VISIBLE,CRect(0,0,0,0), this, NULL) ); int strPartDim[4]={80,160,240,320}; m_StatusBar.SetParts(4,str
Struts2hibernate3简单的学生查询 Example em=Example.create(student).setPropertySelector(new EmptyStringSelector()); List list =session.createCriteria(Student.class).add(em) .add(Restr