静态文本框产生随机数
摘要: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
浙公网安备 33010602011771号