Jump to content

How to change file I/O path Visual Studio C++

T.Vengeance

https://youtu.be/csKrVBWCItc?t=24m22s

 

Currently following that tutorial and he put the basicShader files in his res folder. The problem is this is on Ubuntu and I'm on Windows.

 

He creates the shader files in this directory:

 

https://youtu.be/csKrVBWCItc?t=24m53s

 

How can I implement a folder system just like that for visual studio c++?

 

Right now I have it like this:

13bd1b893a090b3313efb94791c4c620.png

 

and it works out fine, but as soon as I move it to the res folder, I have no clue what syntax to type for the code to point to that file directory. I've read the comments and one person says to fix it to ..\\res\basicShader for Windows but that hasn't helped. 

 

Someone lend me a hand?

“The value of a college education is not the learning of many facts but the training of the mind to think”

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×