jalur file relatif ifstream

#include <fstream>
int main() {
    //NOTICE : this path is relative to the folder where you run your binary
    std::ifstream ifs("data/myfile.txt");
    // Do something with the file
}
Sorann