opengl-tutorials icon indicating copy to clipboard operation
opengl-tutorials copied to clipboard

Function for text file to string conversion:

Open SonOfMephistopheles opened this issue 2 years ago • 2 comments

I recognize that, given the stark lack of mentions on this topic that this may be an error exclusive to me. Thank you in advance for putting up with a novice's missteps. I have c&p'd the code as written for the organizing/shaderClass.cpp and continue to flag the same error at the junction of "throw(errno);" (exception unhandled, int at memory location). The address "0xccccccc...", found in the Shader Constructer defined afterward and returned from the get_file_contents function, purportedly means that the memory is allocated but not initialized. Any assistance in this would be an honor.

SonOfMephistopheles avatar Feb 06 '23 19:02 SonOfMephistopheles

It is unable to be converted from a long long unsigned int to a long long int.

JustAnEric avatar Mar 16 '24 11:03 JustAnEric

Do you have your necessary assets for your program inside your executable folder?

JustAnEric avatar Mar 16 '24 11:03 JustAnEric