PDA

View Full Version : Character Sequence



Rockinredross867
01-17-2016, 04:17 PM
I have been trying to get my program to load in a vertex and fragment shader, but it can't find the path. Now I am absolutely one-hundred percent sure that I have the right path. Then it is giving me a warning saying 's' unrecognized character escape sequence. I research a little bit into this warning and it says that you can not do stuff like this "res/shaders\fragment.txt", but I'm not. I have done this before in prior projects and it worked fine.


shader::Shader m_DefaultShader("res\shaders\basicVertShader.txt", "res\shaders\basicFragShader.txt");

I don't know if you guys need anymore than this so please ask nicely if you do need more code to be shown.

Rockinredross867
01-17-2016, 05:33 PM
Never mind I found the solution to the problem.