string filename1 = "4.1.texture.vs";
fstream file1(filename1, fstream::in | fstream::out | fstream::binary);
if (!file1.is_open()) {
cout << "FileSystem Init failed" << endl;
}
else {
cout << "FileSystem Init Success" << endl;
}
file1.close();
string filename2 = "4.1.texture.fs";
fstream file2(filename2, fstream::in | fstream::out | fstream::binary);
if (!file2.is_open()) {
cout << "FileSystem Init failed" << endl;
}
else {
cout << "FileSystem Init Success" << endl;
}
file2.close();
opengl创建着色器类的时候,想要在着色器类中新建两个着色器文件,运行时候报错![图片说明](https://img-ask.csdn.net/upload/201908/17/1566006113_951008.png)不知道问题出在哪里