I'm trying to create a c++ program to read into files without actually opening the file... my question here is fstream. Example:
std::cout <<"Enter in file: " <<; std::endl;
std::cin >>fileName; std::endl;
for (i=63; i>64; i++);
my question here is this possible? If not please tell me what I'm doing wrong. But the point here if I'm just trying to read into a file line by line then wouldn't you need to be able to read each line from the file and for each line then you would go up 1? if this seems confusing you can view my full code here. Please and thanks.
I haven't tried running this code through a compiler, but I'm just wondering if this could be possible..... :)