So i'm trying to read what's inside a file in my contents folder of my application:
std::string username;
std::ifstream user("../Resources/username.txt");
user >> username;
user.close(); /*here I do a breakpoint to check the value of username and it's ""*/
I do a "if" to check if the file is open, it's obviously not can. you tell me what i'm doing wrong (i know the file path and its name are correct I used similar processes for image upload ect with SDL2 ect)