add.c

来自「LabVIEW宝典 .part2」· C语言 代码 · 共 12 行

C
12
字号
/*************************************************************************
* This code uses a pointer to the structure add to perform the addition  *
* ************************************************************************/

#include "Add.h"

int __stdcall dll_function (add x)
{
	*x.result = x.first + x.second;
	return sizeof(add);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?