📄 ex1206c.cpp
字号:
#include <stdio.h>
#include <string.h>
typedef struct _person
{
int age;
float weight, height;
} person;
#ifdef __cplusplus
extern "C" {
#endif
void _stdcall GETSTRING(char *a, int len);
void _stdcall GETPERSON(person *p);
#ifdef __cplusplus
}
#endif
void main(void)
{
char str[] = "Hello";
person p = { 20, 70.0f, 170.0f };
GETSTRING( str, strlen(str) );
GETPERSON( &p );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -