
uj5u.com熱心網友回復:
請 復制 文本 , 不要 復制 圖片uj5u.com熱心網友回復:
學會使用資料斷點:#include <time.h>
#include <stdlib.h>
#include <windows.h>
int main() {
int a,b[11];//本來是b[10],為判斷哪句越界,故意宣告為b[11]
srand((unsigned int)time(NULL));//按兩次F11,等黃色右箭頭指向本行時,除錯、新建斷點、新建資料斷點,地址:&b[10],位元組計數:4,確定。
while (1) {//按F5,會停在下面某句,此時a的值為10,b[10]已經被修改為對應0..4之一。
b[(a=rand()%11)]=0;
Sleep(100);
b[(a=rand()%11)]=1;
Sleep(100);
b[(a=rand()%11)]=2;
Sleep(100);
b[(a=rand()%11)]=3;
Sleep(100);
b[(a=rand()%11)]=4;
Sleep(100);
}
return 0;
}
uj5u.com熱心網友回復:
lpvBitsPointer to a buffer to receive the bitmap data. If this parameter is NULL,
the function passes the dimensions and format of the bitmap to the BITMAPINFO structure
pointed to by the lpbi parameter.
uj5u.com熱心網友回復:
學會使用資料斷點轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/82900.html
標籤:基礎類
上一篇:VB 呼叫DLL問題!
