?? ex1208c.cpp
字號:
#include <stdio.h>
#include <string.h>
typedef struct _person
{
int age;
float weight, height;
} person;
#ifdef __cplusplus
extern "C" {
#endif
void _stdcall SUB1(int *num)
{
printf("%d\n",*num);
}
void _stdcall SUB2(char *a, int len)
{
a[len]='\0';
printf("%s\n",a);
}
void _stdcall SUB3(person *p)
{
printf("age:%d weight:%5.1f height:%5.1f\n",
p->age, p->weight, p->height);
}
#ifdef __cplusplus
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -