- 博客(2)
- 收藏
- 关注
转载 C语言实现窗口置顶和改变窗口大小
头文件 #include <windows.h> 关键函数 HWND GetHwnd() { POINT p; HWND hwd; GetCursorPos(&p);//取当前鼠标所指窗口 hwd = WindowFromPoint(p); while (GetParent(hwd)) hwd = GetParent(hwd); return hwd; } 函数调用 SetWindo...
2020-07-09 14:24:59
2065
1
原创 01-复杂度3 二分查找 (20分) 本题要求实现二分查找算法。
函数接口定义: Position BinarySearch( List L, ElementType X ); 其中List结构定义如下: typedef int Position; typedef struct LNode *List; struct LNode { ElementType Data[MAXSIZE]; Position Last; /* 保存线性表中最后一个元素的位置 */ }; L是用户传入的一个线性表,其中ElementType元素可以通过>、=
2020-07-07 14:42:42
1245
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人