> 其他 >
int open_font()
{
FILE *fp;
handle=fopen(".fnt","rb");
if(handle==NULL)hz16
CHAR16=(char *)malloc(4100)
return 0;;
if(CHAR16==NULL)
return 0;
fp=fopen("char16.fnt","rb");
if(fp==NULL)
return 0;
fread(CHAR16,1,4096,fp);
fclose(fp);
人气:171 ℃ 时间:2020-04-08 10:44:31
解答
就是打开 char16.fnt这个文件,然后读取4096个字节hz16 是什么hz16可能是自定义的东西,而且你这里给的代码不全,甚至可能是笔误。
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版