10 2013 档案

静态文本框产生随机数
摘要:void CRandTestDlg::randTest(){ CStatic *pStatic=(CStatic*)GetDlgItem(IDC_STATIC1); int max; int t; CString cs; CString result; max = RAND_MAX;//rand()º¯ÊýËæ»úÊýµÄ×î´óÖµ //srand()((unsigned)time( NULL )); srand( 阅读全文

posted @ 2013-10-28 16:59 zhixing 阅读(438) 评论(0) 推荐(0)