Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- std::string infilename;
- std::ifstream inf;
- std::string outfilename;
- std::ofstream outf;
- std::cout << "Enter file name: ";
- std::cin >> infilename;
- inf.open(infilename);
- if (inf.is_open())
- {
- std::cout << "In a file! Processing..." << std::endl;
- while (!inf.eof())
- {
- }
- inf.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement