-
结构体对齐的算法 < 常用算法与数据结构 >
由于需要做一个自动配置平台的东西,涉及到结构解析的问题。因为结构体在编译时会自动对齐边界,...
结构体对齐的算法 < 常用算法与数据结构 >
由于需要做一个自动配置平台的东西,涉及到结构解析的问题。因为结构体在编译时会自动对齐边界,如果没有一个准确的算法,是不可能得到每一个成员变量的正确偏移量的。为了解决这个问题我在网上查了一圈资料,看了MSDN上的相关介绍,但始终没有找到一个直接的算法,无奈之下只好自己亲自动手,一点一点摸索其中的实现规则。经过一天的实验之后,终于找到了这个算法。为了让以后有需要解决同样问题的朋友们能有个参考,特将此算法提供给vckbase。也谨此感谢vckbase上那些给我提供过帮助的朋友们。
源代码包括两部分,一部分是正式的调用函数,一部分是调用demo程序,全部包含在AlignOffSet.cpp文件中。该文件已经在VC++6.0上通过编译,并运行成功。
- 2022-11-25 01:35:04下载
- 积分:1
-
一个很棒的线程库,解决了很多的delphi自带的线程的问题,真正体验到什么叫做多线程。很爽。...
一个很棒的线程库,解决了很多的delphi自带的线程的问题,真正体验到什么叫做多线程。很爽。-A great thread library to solve a lot of delphi
- 2022-01-27 16:00:15下载
- 积分:1
-
自己用VB编的一个小程序,可以实现悬浮的窗体。
自己用VB编的一个小程序,可以实现悬浮的窗体。-their VB series with a small procedure, the suspension can be achieved Form.
- 2023-07-04 08:10:04下载
- 积分:1
-
工作
Job-scheduler is a program that schedules programs to be run at
their specified times. It gives users several options for scheduling
programs.
You can use telnet program to connect to the port job-scheduler is
listenning for incomming connections on the host computer. Then you
can get information about the current scheduled jobs, add, stop or
start jobs or kill the job-scheduler program. Job-scheduler can also
load input files which contain information about some jobs to be
scheduled. - Job-scheduler is a program that schedules programs to be run at their specified times. It gives users several options for scheduling programs. You can use telnet program to connect to the port job-scheduler is listenning for incomming connections on the host computer. Then you can get information about the current scheduled jobs, add, stop or start jobs or kill the job-scheduler program. Job-scheduler can also load input files which contain information about some jobs to be scheduled
- 2022-05-26 10:38:25下载
- 积分:1
-
实现了以重定向的命令,输入命令,或文件的编译…
在VC下实现了DOS命令的重定向,输入DOS命令,或者文件的编译命令,可以在VIEW试图下显示结果,基本上可以替代CMD命令窗口-VC achieved in order to redirect DOS, enter the DOS command, or file the compiler command, you can attempt to display the results of VIEW, basically an alternative to CMD command window
- 2022-02-16 01:51:26下载
- 积分:1
-
ddwdwd广告dskdwsd QD qdlk qdqkdkqw
dwd、wd、qwdwqd、qd、wdqd、d、ddq
- 2023-06-08 15:10:04下载
- 积分:1
-
短小精悍的Windows下硬盘序列号检测程序,能检测各种硬盘!
短小精悍的Windows下硬盘序列号检测程序,能检测各种硬盘!-terse and forceful drive under Windows serial number detection procedure can detect various drives!
- 2022-12-30 21:50:03下载
- 积分:1
-
一个包装ShellFileOpen的类
一个包装ShellFileOpen的类--A class of ShellFileOpen packeting
- 2022-12-03 01:40:08下载
- 积分:1
-
这是一款模仿windows资源管理器的应用程序,它通过树视控件和列表控件实现对windows资源的管理...
这是一款模仿windows资源管理器的应用程序,它通过树视控件和列表控件实现对windows资源的管理-This is an imitation of the Explorer windows application that controls and through the tree as a list of controls to achieve resource management on windows
- 2022-01-22 12:13:40下载
- 积分:1
-
简单的MAPGIS示范程序。可以实现MAPGIS7.0的简单操作的原代码
简单的MAPGIS示范程序。可以实现MAPGIS7.0的简单操作的原代码 -MAPGIS simple model procedures. MAPGIS7.0 can achieve the simple operation of the original code
- 2022-10-18 12:30:02下载
- 积分:1