1485159
شنبه 17 بهمن 1388, 13:51 عصر
سلام
من هرچقدر فکر میکنم نمیتونم معنی این چن سطر رو بفهمم:
Now we have to define WndProc(). The reason we have to do this is because CreateGLWindow()
has a reference to WndProc() but WndProc() comes after CreateGLWindow(). In C if we want to
access a procedure or section of code that comes after the section of code we are currently in we
have to declare the section of code we wish to access at the top of our program. So in the following
line we define WndProc() so that CreateGLWindow() can make reference to WndProc().
ممنون.
من هرچقدر فکر میکنم نمیتونم معنی این چن سطر رو بفهمم:
Now we have to define WndProc(). The reason we have to do this is because CreateGLWindow()
has a reference to WndProc() but WndProc() comes after CreateGLWindow(). In C if we want to
access a procedure or section of code that comes after the section of code we are currently in we
have to declare the section of code we wish to access at the top of our program. So in the following
line we define WndProc() so that CreateGLWindow() can make reference to WndProc().
ممنون.