头文件
#include<stdio.h>
#include<graphics.h>
TCHAR str[16];//字符数组
swprintf_s(str, _T("%d"), score); //如果项目属性选用多字符集可不加_T
outtextxy(415, 310, str);
outtextxy输出整形变量
最新推荐文章于 2023-06-23 18:09:04 发布
头文件
#include<stdio.h>
#include<graphics.h>
TCHAR str[16];//字符数组
swprintf_s(str, _T("%d"), score); //如果项目属性选用多字符集可不加_T
outtextxy(415, 310, str);