我移植頭同意本聲明:哪個C/C++頭文件定義了BYTE數據類型?
struct tMaterialInfo {
char strName[255]; // the texture name
char strFile [255]; // the texture
BYTE color [3]; // the color of the object
};
頭具有以下包括:
#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>
在這情況下BYTE從何而來?
+1定義明確說明的問題,以及提供足夠的上下文提供一個有用的答案。 – RBerteig 2010-12-20 01:12:05