📄 clustersimple.cpp
字号:
struct TD1{
double DBL;
long I32;
char Boolean;
};
_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 = 0;
}
else
{
output->Boolean = 1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -