Hi,
I am currently using fstream in C++ to read files. I have noticed that only file names are passed when opening a file. I was curious if there is a way to specify a different directory. The following does not work:
Code:
std::ifstream in ("C:\test\node1trans.sim");
std::cout <<in.get();
in.get() returns -1
thanks for the help,
Amish