User Activity

  • Posted a comment on discussion dev-cpp-users on Dev-C++

    ifstream infile; string filename; cout << "Enter File name (no spaces): "; cin >> filename; infile.open(filename.c_str()); int count = 0; while (!infile.eof()) { infile >> inputA[count]; count++; } infile.close(); Check this code, If this is working for you or not?

View All

Personal Data

Username:
vinaysingh0399
Joined:
2023-02-09 14:25:26.427000

Projects

  • No projects to display.

Personal Tools