Home > Software engineering >  Why will change in the use of a second getdibits rgbquad content
Why will change in the use of a second getdibits rgbquad content

Time:09-27

CodePudding user response:

Please copy the text, do not copy pictures

CodePudding user response:

Learn how to use data breakpoints:
 # include & lt; Time. H> 
#include
#include
Int main () {
Int a, b [11].//was b [10], to decide which words of cross-border, intentionally statement for b [11]

Srand ((unsigned int) time (NULL));//press F11 twice, such as yellow right arrow pointing to the bank, the debugging, the new breakpoint, new data breakpoints, address: & amp; B [10], byte count: 4, sure,
While (1) {//press F5, will stop in the following sentence, as a value of 10, b has been modified to corresponding to 0. [10]. One of the four,
B (11) (a=rand () %]=0;
Sleep (100);
B (11) (a=rand () %]=1;
Sleep (100);
B (11) (a=rand () %]=2;
Sleep (100);
B (11) (a=rand () %]=3;
Sleep (100);
B (11) (a=rand () %]=4;
Sleep (100);
}
return 0;
}

CodePudding user response:

LpvBits
Pointer to a buffer to receive the bitmap data. If this parameter is is NULL ,
The function passes the dimensions and the format of the bitmap to the BITMAPINFO structure
Pointed to by the lpbi parameter.

CodePudding user response:

Learn how to use data breakpoints
  • Related