摘要:
/*本段程序实现了将小图片拼接成大图片的过程,所建立的程序模版是基于对话框的程序。程序段放在了OnEraseBkgnd中了;并且使用了随机生成图片的方法,小图片的尺寸为50*50*/#define rdint(i)(rand()%(int)(i)) //随机数定义#define nRows 10 //生成地图的行数#define nCols 6 //生成地图的列数BOOL CMapDlg::OnEraseBkgnd(CDC* pDC) {// TODO: Add your message handler code here and/or call default CDC memdc,bufdc 阅读全文