我正在训练用cpp做opengl的东西,但是我的程序有一个错误:/(vertexShader)这是顶点着色器的代码:voidmain(void){gl_Position=gl_Vertex;}这里有调用着色器的主cpp文件:#include#include#includestaticchar*readFile(constchar*filename){//OpenthefileFILE*fp=fopen(filename,"rb");//Movethefilepointertotheendofthefileanddetermingthelengthfseek(fp,0,SEEK_END)