上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 53 下一页
摘要: DescriptionAs you must have experienced, instead of landing immediately, an aircraft sometimes waits in a holding loop close to the runway. This holding mechanism is required by air traffic controllers to space apart aircraft as much as possible on the runway (while keeping delays low). It is formal 阅读全文
posted @ 2013-07-06 11:22 剑不飞 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Problem B: The Largest CliqueGiven a directed graphG, consider the following transformation. First, create a new graphT(G)to have the same vertex set asG. Create a directed edge between two verticesuandvinT(G)if and only if there is a path betweenuandvinGthat follows the directed edges only in the f 阅读全文
posted @ 2013-07-05 16:09 剑不飞 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Consider the following exercise, found in a generic linear algebra textbook.LetAbe ann×nmatrix. Prove that the following statements are equivalent:Ais invertible.Ax = bhas exactly one solution for everyn× 1 matrixb.Ax = bis consistent for everyn× 1 matrixb.Ax = 0has only the trivial s 阅读全文
posted @ 2013-07-04 21:46 剑不飞 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1写出下面各个缩写的中英文含义(1)API(2)GDI(3)CUI(4)GUI(5)MDI(6)SDK(7)MFC2判断题所有的Windows程序中,其入口函数必须名为WinMain.在Windows的消息结构中,键盘的按键字符信息被保存在LParam中。在Windows编程中,使用窗口句柄来操作具体的窗口。在Windows编程约定中,CHAR数据类型和TCHAR数据类型是相同的。所谓的WindowsAPI就是独立于C语言的一套全新的程序设计语言。3多项选择题下列哪种情况下系统可能向窗口发送WM_PAINT消息?A.窗口最初创建时B.窗口移动后部分区域由不可见变为可见C.窗口大小改变后D.滚动 阅读全文
posted @ 2013-07-03 17:26 剑不飞 阅读(383) 评论(0) 推荐(0) 编辑
摘要: WindowsAPI绘图函数AngleArc根据一个弧形的两端点画一条线Arc画一个圆弧ArcTo画圆弧并更新当前位置CancelDC放弃绘图操作Chord画一条弦线(椭圆的平分线)Ellipse画一个椭圆ExtFloodFill填充屏幕一某区域FillRect填充矩形FloodFill填充屏幕一某区域FrameRect画一围绕矩形的框GetPixel获取某像素的颜色InvertRect反转矩形中图像LineDDA获取将被特定线条设置的所有像素的列表LineTo画一条线关定当前位置Pie画一扇形PolyBezier画一簇Bezier曲线PolyBezierTo画一簇Bezier曲线并设置当前画 阅读全文
posted @ 2013-07-02 20:31 剑不飞 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 在上次课中,讲述了CreateWindow函数的原型。HWNDCreateWindow(LPCTSTRlpClassName,//指向已注册的类名LPCTSTRlpWindowName,//指向窗口名称DWORDdwStyle,//窗口样式intx,//窗口的水平位置inty,//窗口的垂直位置intnWidth,//窗口宽度intnHeight,//窗口高度HWNDhWndParent,//父窗口或所有者窗口句柄HMENUhMenu,//菜单句柄或子窗口标识符HANDLEhInstance,//应用程序实例句柄LPVOIDlpParam,//指向窗口创建数据的指针);在前面的示例中,我们对x 阅读全文
posted @ 2013-07-02 20:29 剑不飞 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 在使用RegisterClass注册窗口类成功之后,即可以使用该窗口类创建并显示应用程序的窗口。这个过程如下面的代码所示://创建应用程序主窗口hWnd=CreateWindow("SdkDemo1",//窗口类名"第一个Win32SDK应用程序",//窗口标题WS_OVERLAPPEDWINDOW,//窗口样式CW_USEDEFAULT,//初始化x坐标CW_USEDEFAULT,//初始化y坐标CW_USEDEFAULT,//初始化窗口宽度CW_USEDEFAULT,//初始化窗口高度NULL,//父窗口句柄NULL,//窗口菜单句柄hInstanc 阅读全文
posted @ 2013-07-02 20:28 剑不飞 阅读(561) 评论(0) 推荐(0) 编辑
摘要: 点开VC++建个win32 Application在建个CPP的文件然后贴下一下代码就是输出Hello world.#include int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow){MessageBox (NULL, TEXT ("Hello, World!"), TEXT ("HelloMsg"... 阅读全文
posted @ 2013-07-01 16:46 剑不飞 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Being a knight is a very attractive career: searching for the Holy Grail, saving damsels in distress, and drinking with the other knights are fun things to do. Therefore, it is not very surprising that in recent years the kingdom of King Arthur has experienced an unprecedented increase in the number 阅读全文
posted @ 2013-06-29 21:49 剑不飞 阅读(224) 评论(0) 推荐(0) 编辑
摘要: The Beautiful RoadTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 229Accepted Submission(s): 122Problem DescriptionThere is a road from city A to city B.On the road,there are N positions(indexed from 0 to N-1).In order to celebrate the Multi-Univer 阅读全文
posted @ 2013-06-29 12:33 剑不飞 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 53 下一页