#include<string>
using namespace std;
string ReadFile(string fileName)
{
string all_contents;
FILE *file=fopen(fileName.c_str(),"r");
char c=fgetc(file);
while (c!=EOF)
{
all_contents+=c;
c=fgetc(file);
}
fclose(file);
return all_contents;
}
using namespace std;
string ReadFile(string fileName)
{
string all_contents;
FILE *file=fopen(fileName.c_str(),"r");
char c=fgetc(file);
while (c!=EOF)
{
all_contents+=c;
c=fgetc(file);
}
fclose(file);
return all_contents;
}