-
结构体对齐的算法 < 常用算法与数据结构 >
由于需要做一个自动配置平台的东西,涉及到结构解析的问题。因为结构体在编译时会自动对齐边界,...
结构体对齐的算法 < 常用算法与数据结构 >
由于需要做一个自动配置平台的东西,涉及到结构解析的问题。因为结构体在编译时会自动对齐边界,如果没有一个准确的算法,是不可能得到每一个成员变量的正确偏移量的。为了解决这个问题我在网上查了一圈资料,看了MSDN上的相关介绍,但始终没有找到一个直接的算法,无奈之下只好自己亲自动手,一点一点摸索其中的实现规则。经过一天的实验之后,终于找到了这个算法。为了让以后有需要解决同样问题的朋友们能有个参考,特将此算法提供给vckbase。也谨此感谢vckbase上那些给我提供过帮助的朋友们。
源代码包括两部分,一部分是正式的调用函数,一部分是调用demo程序,全部包含在AlignOffSet.cpp文件中。该文件已经在VC++6.0上通过编译,并运行成功。
- 2022-11-25 01:35:04下载
- 积分:1
-
鲜花订购系统采用vb+access编写,主要功能是用于鲜花店管理鲜花 的进销存以及客户管理...
鲜花订购系统采用vb+access编写,主要功能是用于鲜花店管理鲜花 的进销存以及客户管理 -Flower Ordering System using vb+ Access preparation, the main function is the management of fresh flowers for the flower shop Invoicing and Customer Management
- 2022-02-03 14:17:30下载
- 积分:1
-
initialization_code_to_light_on_the_hx8238
Initialization_Code_to_light_on_the_HX8238-A --- Very useful-Initialization_Code_to_light_on_the_HX8238-A--- Very useful
- 2022-10-11 02:40:03下载
- 积分:1
-
一个有关JAVABEAN的设计程序,可能实现BEAN功能,并被其它JAVA程序调用....
一个有关JAVABEAN的设计程序,可能实现BEAN功能,并被其它JAVA程序调用.-JAVABEAN one of the design process, Beans possible functions, the other was called Java procedures.
- 2022-11-23 12:30:03下载
- 积分:1
-
一个改变文件只读属性的例子
一个改变文件只读属性的例子--An example of changeing the readonly properties of files
- 2022-07-12 10:56:25下载
- 积分:1
-
查看系统历史记录,绿色软件,可以直接运行无须安装
查看系统历史记录,绿色软件,可以直接运行无须安装-View system historical records, green software, it is not required to install direct operation
- 2022-10-30 22:50:03下载
- 积分:1
-
Microsoft Windows GDI+是为C/C++开发者提供的一个基于类的应用程序编程接口(API)。本文档为中文翻译,希望对大家有用。...
Microsoft Windows GDI+是为C/C++开发者提供的一个基于类的应用程序编程接口(API)。本文档为中文翻译,希望对大家有用。-Microsoft Windows GDI+ Is C/C++ Developer to provide a class-based Application Programming Interface (API). This document translated into Chinese, in the hope that everyone useful.
- 2023-05-06 14:00:03下载
- 积分:1
-
5版
VERSION 5.00
Begin VB.Form laba
AutoRedraw = -1 True
BackColor = &H00FFFFFF&
BorderStyle = 1 Fixed Single
ClientHeight = 3540
ClientLeft = 2340
ClientTop = 1815
ClientWidth = 4935
ControlBox = 0 False
Icon = "FORM2.frx":0000
LinkTopic = "Form1"
MaxButton = 0 False
MinButton = 0 False
Picture = "FORM2.frx":08CA
ScaleHeight = 3540
ScaleWidth = 4935
ShowInTaskbar = 0 False
StartUpPosition = 2 CenterScreen
Begin VB.Timer Endlife
Enabled = 0 False
Interval = 1
Left = 3240
Top = 3360
-VERSION 5.00
Begin VB.Form laba
AutoRedraw =-1 True
BackColor = &H00FFFFFF&
BorderStyle = 1 Fixed Single
ClientHeight = 3540
ClientLeft = 2340
ClientTop = 1815
ClientWidth = 4935
ControlBox = 0 False
Icon = "FORM2.frx":0000
LinkTopic = "Form1"
MaxButton = 0 False
MinButton = 0 False
Picture = "FORM2.frx":08CA
ScaleHeight = 3540
ScaleWidth = 4935
ShowInTaskbar = 0 False
StartUpPosition =
- 2022-12-06 12:20:03下载
- 积分:1
-
- 2023-07-23 09:10:03下载
- 积分:1
-
SSDTmon
SSDTmon - view os kernel SST and win32k SST, unhook, syntax base for NT API. Console client. C++, Use driver for kernel memory acce-SSDTmon- view os kernel SST and win32k SST, unhook, syntax base for NT API. Console client. C++, Use driver for kernel memory access
- 2022-10-27 01:40:04下载
- 积分:1