M
Michael Sgier
Hi
i want to read a text file. but it says "incomplete type" and read
errors. Why? and finally compare to another file.
Many thanks
Michael
//path und filename
strcat(InFile1, "aha.dat");
std::ifstream InPutfile1;
char Byte;
InPutfile1.open(InFile1, std::ios::in | std::ios::binary);
// is that the same for another text file?
while(!InPutfile1.eof())
{
char NewByte;
if (!InPutfile1.fail())
{
Byte = InPutfile1.get();
//etc.
if ( InPutfile != outFile1)
i want to read a text file. but it says "incomplete type" and read
errors. Why? and finally compare to another file.
Many thanks
Michael
//path und filename
strcat(InFile1, "aha.dat");
std::ifstream InPutfile1;
char Byte;
InPutfile1.open(InFile1, std::ios::in | std::ios::binary);
// is that the same for another text file?
while(!InPutfile1.eof())
{
char NewByte;
if (!InPutfile1.fail())
{
Byte = InPutfile1.get();
//etc.
if ( InPutfile != outFile1)