-
caculation
mfc编程很好的例子,可以实现计算的功能。通过这个程序可以实现计算机的基本功能。(mfc programming good example of computing power can be achieved. This program can be achieved through the computer' s basic functions.)
- 2010-11-29 21:13:40下载
- 积分:1
-
STL源码剖析
说明: STL源码剖析,这本书所呈现的源码,使读者看到vector的实现、list的实现、heap的实现、deque的实现、Red Black tree的实现、hash table的实现、set/map的实现;看到各种算法(排序、查找、排列组合、数据移动与复制技术)的实现;甚至还能够看到底层的memory pool和高阶抽象的traits机制的实现。(STL source code analysis, the source code presented in this book, enables readers to see the implementation of vector, list, heap, deque, red black tree, hash table, set / map, various algorithms (sorting, searching, permutation and combination, data movement and replication technology), and even the underlying memory The implementation of pool and high-level Abstract traits mechanism.)
- 2020-05-22 22:36:43下载
- 积分:1
-
VC++ 6.0 使用IPicture读取显示多种格式的图像(图片)并缩放
VC++ 6.0 使用IPicture显示多种格式的图片,并可进行图片的放大和缩小等缩放操作,本实例中从全局内存中,创建IStream,从图像文件创建IPicture对象,读文件数据到内存。支持的文件类型有:bmp;*.gif;*.jpg;*.ico;*.emf;*.wmf;获取图像的长度和宽度代码如下:
long hmWidth;
long hmHeight;
m_lPciture->get_Width(&hmWidth);//图像的长度
m_lPciture->get_Height(&hmHeight);//图像的宽度
SIZE sz;
sz.cx = hmWidth;
sz.cy = hmHeight;
pDC->HIMETRICtoDP (&sz);//从OLE对象尺寸转换为像素值
sz.cx = (sz.cx * m_nScale) / 100;
sz.cy = (sz.cy * m_nScale) / 100;
RECT rc;
GetClientRect(&rc);
SetScrollSizes(MM_TEXT, sz);//设置滚动窗口的尺寸
// 显示图像
m_lPciture->Render(pDC->m_hDC,
0, //水平坐标位置
0, //垂直坐标位置
sz.cx, //水平尺寸
sz.cy, //垂直尺寸
0, //源图像的水平偏移
hmHeight,//源图像的垂直偏移
hmWidth,//复制源图像的水平长度
-hmHeight,//复制源图像的垂直长度
&rc);//显示图像的矩形区域
- 2022-07-21 07:14:46下载
- 积分:1
-
Cfoundation
这个是C语言初入门的资料,很有用的,值得一看(
The introduction at the beginning of the C language data, is very useful, it s worth a look)
- 2013-11-05 22:16:00下载
- 积分:1
-
用VC++和DCMTK显示DICOM医学图像
说明: VC++ 使用DCMTK显示DICOM医学图像的实现教程, 从事VC++编程的程序员大概都知道,DICOM是医学影像存储和传输的国际标准,本教程来自OTI技术论坛专题讨论版,或许这本整理的简短教程对你有所帮助。(VC ++ uses DCMTK to display the DICOM medical image implementation tutorial. Programmers engaged in VC ++ programming probably know that DICOM is an international standard for medical image storage and transmission. This tutorial comes from the OTI technical forum panel discussion. Perhaps this short tutorial is organized You are helpful.)
- 2020-04-11 13:05:04下载
- 积分:1
-
Expert-C-Programming
《C专家编程》展示了最优秀的C程序员所使用的编码技巧,并专门开辟了一章对C++的基础知识进行了介绍。书中C的历史、语言特性、声明、数组、指针、链接、运行时、内存以及如何进一步学习C++等问题进行了细致的讲解和深入的分析。全书撷取几十个实例进行讲解,对C程序员具有非常高的实用价值。(" expert C programming" demonstrated the use of the best C programmers coding techniques, and opened up a chapter devoted to the basic knowledge of C++ are introduced. The detailed explanation and in-depth analysis of C book of history, language characteristics, statements, arrays, pointers, links, runtime, memory and learning how to further C++ such problems. The book captured dozens of examples to explain, has very high practical value for C programmers.)
- 2014-04-18 20:02:52下载
- 积分:1
-
VC++ 创建WinExample和MFCExample窗口程序演示
VC++ WinExample和MFCExample程序演示,是创建此两类程序的演示,一种是使用WINAPI的方式 创建程序窗口,另一种是采用MFC方式创建窗口,下面列举一上结使用WINAPI方式创建窗口的具体代码,完整代码请下载本源码。
// 创建窗口
hWnd = CreateWindow("HelloMsg",// 窗口类名
"我的窗口", // 窗口标题
WS_OVERLAPPEDWINDOW,// 窗口样式
CW_USEDEFAULT,// 窗口最初的x位置
CW_USEDEFAULT,// 窗口最初的y位置
CW_USEDEFAULT,// 窗口的宽度
CW_USEDEFAULT,// 窗口的高度
NULL,// 父窗口句柄
NULL,// 窗口菜单句柄
hInstance,// 应用程序实例句柄
NULL);// 创建窗口的参数窗口消息处理函数
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_LBUTTONDOWN:// 鼠标左键按下消息
MessageBox(NULL, "欢迎进入Visual C++!", "问候", 0);
break;
case WM_DESTROY:// 窗口销毁消息
PostQuitMessage(0);
break;
default:
// 默认消息处理函数
return DefWindowProc(hWnd, uMsg, wParam, lParam);
}
return 0;
}
- 2022-09-16 09:05:03下载
- 积分:1
-
CH1
c语音常用算法集锦,适合于c语言进阶群体,值得细细品味(c voice allehanda commonly used algorithms, suitable for advanced groups, c language, it is savor)
- 2008-03-04 10:49:00下载
- 积分:1
-
C大学教程第5版附书源码
C大学教程第5版附书源码,学c语言的好资料(C college textbook fifth edition source code.)
- 2017-10-29 21:15:44下载
- 积分:1
-
VC6.0 自定义折线图形源码
VC6绘制折线图形控件,可用于工位机相关项目软件开发,也可用于学习VC++下GDI绘图,实用价值大,可以收藏一下。
- 2022-06-14 09:00:05下载
- 积分:1