📄 clustersimple.c
字号:
#include "extcode.h"
/* LabVIEW created typedef */
typedef struct {
double DBL;
long I32;
char Boolean;
} TD1;
_declspec(dllexport) void CLUSTERSimple(TD1 *input, TD1 *output);
_declspec(dllexport) void CLUSTERSimple(TD1 *input, TD1 *output)
{
output->DBL = input->DBL * input->DBL;
output->I32 = input->I32 / 2;
if(input->Boolean)
{
output->Boolean = FALSE;
}
else
{
output->Boolean = TRUE;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -