相关疑难解决方法(0)

哪个C/C++头文件定义了BYTE数据类型?

我正在使用此声明移植标头:

 struct tMaterialInfo {     
    char strName[255]; // the texture name
    char strFile [255]; // the texture
     BYTE color [3]; // the color of the object 
 };
Run Code Online (Sandbox Code Playgroud)

标题包含以下内容:

#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fstream>
#include <vector>
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include<gl\glu.h>// Header File For The GLu32 Library
#include <gl\glaux.h>
Run Code Online (Sandbox Code Playgroud)

BYTE来自哪里?

c c++ windows

24
推荐指数
3
解决办法
6万
查看次数

标签 统计

c ×1

c++ ×1

windows ×1