int main(int argc, char* argv[])
{
char* sPath_in = "test.txt";
FILE *f = fopen(sPath_in, "rb");
fseek(f, 0, SEEK_END);
long FileLength = ftell(f);
fseek(f, 0, SEEK_SET);
char *string = (char *)malloc(FileLength + 1);
fread(string, FileLength, 1, f);
cout << string << endl;
fclose(f);
//system("pause");
return 0;
}