using rand() function with bitmaps

January 9, 2010 at 01:42:50
Specs: windows
I am working with visual c++ and i want to generate the random positions of bitmaps.I have used rand() function for this purpose and stored the result in integer variable.Now i want to do the comparison of bitmap id and this number.What should i have to do???Is there any function to do this???Should i typecast the int type into CBitmap type??If so how to do this???

See More: using rand() function with bitmaps

Report •

January 9, 2010 at 07:21:12
I think you need to step back and explain, in detail, what rand() has to do with bitmaps.

Report •

January 10, 2010 at 20:17:53
I donot know hopw to move the bitmap buttons in mfc using visual c++??Is there any function???Any simple code will be appreciated.thanx

Report •
Related Solutions

Ask Question