错误C2664和C2597在OpenGL和DevIL在C + + 我想这是一个两部分的问题,这就是为什么我找不到更合适的标题为这篇文章。 我使用DevIL加载图像然后将其转换为熟悉的格式。这是我的代码我遇到麻烦的部分: //复制到OpenGL纹理 if $ CV throw runtime_error(std :: string(“无法转换图像”)+文件名+ std :: string(“显示友好格式”)) } glGenTextu .. 发布时间:2016-11-01 09:26:10 c++ opengl devil c2664 C/C++开发
为CreateDirectory将'const char *'转换为'LPCTSTR' #include“stdafx.h” #include #include using namespace std; int main() { string FilePath =“C:\\Documents and Settings\\whatever”; CreateDirectory(FilePath,NULL); ret .. 发布时间:2016-10-30 01:32:40 c++ c2664 C/C++开发