Home > Back-end >  With no parameter types match instances of overloaded functions
With no parameter types match instances of overloaded functions

Time:11-10

The source code is a c + + file read
 
#include
#include
#include
#include
#include
#include
# undef _unicode
using namespace std;
Int main () {
Ifstream infile.
Int num [100].
int i;
Infile. Open ("? C: \ \ Users \ \ jyz_1 \ \ Desktop \ \ Numbers. TXT ", the ios: : in);
if (! (infile. Is_open)) {
Cout & lt; <"Fail to open the file!" }
while (! Infile. Eof ()) {
Infile. Getline (num, 100, '\ n');
}
Infile. Close ();
}

An error in the infile. Getline that line
  • Related