搜索资源列表
数组排序算法改进版
- 这个程序的头文件中包含四种排序方法:泡沫排序法(bubble),插入排序法(insertion),快速排序法(quick)和选择排序法(selection)。头文件中还使用了模板技术,以便可以同时实现几种类型的排序算法。 dinimicky_hu对原程序做了修改和优化,使用了函数指针数组,并修改了一个BUG-The head file of this programme includes 4 methods of sorting : Bublle sorting,insertion sortin
Lesson19Code
- 动态链接库程序的编写。静态库与动态库的区别,以及调用程序在链接静态库和动态库时的区别。如何利用工具查看动态链接库输出的函数,Depends工具的使用,C++编译器名字改编技术对动态链接库输出函数的影响,extern \"C\"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。-dynamic link library of writing. Static and Dynamic Library for the disti
func_ptr
- 一个函数指针的例子,C++语言,我在初学C++时写的,可以参考一下-a function pointer example, C language, I was learning C, can take a look
dongtaiCode
- 动态链接库程序的编写。DependsC++编译器名字改编技术对动态链接库输出函数的影响,extern \"C\"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。-dynamic link library of writing. DependsC compiler technology adapted to name DLL function of the output, extern "C" for
dll_myown
- 动态链接库程序的编写。静态库与动态库的区别,以及调用程序在链接静态库和动态库时的区别。如何利用工具查看动态链接库输出的函数,Depends工具的使用,C++编译器名字改编技术对动态链接库输出函数的影响,extern \"C\"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。-dynamic link library of writing. Static and Dynamic Library for the disti
Lesson19DLL
- 动态链接库程序的编写。静态库与动态库的区别,以及调用程序在链接静态库和动态库时的区别。如何利用工具查看动态链接库输出的函数,Depends工具的使用,C++编译器名字改编技术对动态链接库输出函数的影响,extern \"C\"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。-DLL in the preparation process. Static and dynamic library of distinction
key_poiter_program
- 用指针函数实现最快最简单的按键控制程序。 // 按键的四种不同工作状态对应的函数指针对照表,每三字节对应一个按键 // 每一项包含三个字节,分别代表按键码,键盘状态,对应处理程序编号 // 本表对应于日常操作,不是修改状态-function pointer to achieve the quickest and most simple keypad control procedures. / / Button four different working conditions cor
Lesson19Code
- 动态链接库程序的编写。静态库与动态库的区别,以及调用程序在链接静态库和动态库时的区别。如何利用工具查看动态链接库输出的函数,Depends工具的使用,C++编译器名字改编技术对动态链接库输出函数的影响,extern \"C\"的用法,利用模块定义文件来解决C++名字改编的问题。用typedef定义指向函数的指针类型,如何获得动态连接库里的函数的指针。-DLL in the preparation process. Static and dynamic library of distinction
function1212333
- function 一个函数指针实例 20个字-function examples of a function pointer 20 characters
asm_module
- 该程序模拟UNIX中save与resume函数,并介绍在VC中如何使用汇编进行机器级的操作. 主函数很简单首先引入两个外部函数,extern \"C\"表示按传统C命名习惯.函数save将程序指针保存在(*s)中并返回0,为什么有 if(save(&sp)){...} if后的语句看起来永远都不会被执行,但是运行结果表明它被执行了.这个问题同UNIX中处理机调度函数(switch)的那个if语句(第一句)一样. 程序执行完save(&sp)后得到因为条件为假而执行else语句,
xktv_vd
- linux的视频捕捉 经过实际使用,稳定可靠 只要把模块内部定义的函数指针赋值,指向你的接收函数,就可以了 视频帧格式是RGB888的32位点阵数据 -linux video capture after actual use. stable and reliable as long as the definition of internal module function pointer assignment, point your receiver function, on the vi
C_C++pointer
- 指针是C和C++语言编程中最重要的概念之一,也是最容易产生困惑并导致程序出错的问题之一。利用指针编程可以表示各种数据结构, 通过指针可使用主调函数和被调函数之间共享变量或数据结构,便于实现双向数据通讯;并能像汇编语言一样处理内存地址,从而编出精练而高效的程序。指针极大地丰富了C和C++语言的功能。-Pointer is a C and C++ Language programming in the concept of one of the most important and most eas
paixu
- 用指向指针的 方法对n个整数排序并输出。要求将排序单独写成一个函数,n和各整数在主函数中输入,最后在主函数中输出。-Pointer with the pointer point to the method of sorting n integers and output. Requirements will be sorted into a separate function, n and the integer function in the main input, the final out
C-pointers-and-callback-function
- 详细理解C指针-指针函数与函数指针和回调函数 非常基础易懂-Detailed understanding of C pointers- pointer to function and function pointer and a callback function
VB-Function-pointer
- 我整理的VB函数指针源码,添加了示例和注意事项,完美实现VB函数指针!-The VB function pointer source finishing, add examples and considerations, the perfect realization of the VB function pointer!
point-function
- 可以帮助初学者深入理解指针函数,答疑解惑-Can help beginners in-depth understanding of the function pointer, answering questions
Pointer-state-machine
- 相对所谓的传统状态机编写方式来说,使用函数指针作为中间介质来进行间接调用的方式就是所谓的“指针法状态机”。 指针法状态机其本质与合作式调度器几乎就是同义词,或者说是调度器的一个“状态机”编程模式-Relative to write so-called traditional state machine approach, using a function pointer as an intermediate medium for indirect way is to invoke the s
function-pointer
- 返回指针值的函数,用以返回指针型函数的地址,即函数代码的入口地址,以便调用-Return function pointer value
function-pointer
- 函数指针的应用,举了一个小例子,通过判断输入的值判断要进入的流程-Function pointer applications, give a small example, by determining the value of the input to enter judgment process
Function pointer
- 函数指针一目了然的用法,如果打不开,请提取代码自行编译(Learn to use function pointer!)