I am relatively new to C++ programming so please forgive me if my question is very basic or silly. I am trying to read files in C++. It opens text based files properly but doesnt open csv files , though I am saving them in the same directory. It doesnt open the file even if we save the csv file as txt file. Also my program is opening the files that are being saved in the current directory only. If we save the same file in other directory & specify the whole path in program then also it fails to open that file. I dont know wht the problem is. Could you people please help me with this.