From: "S. Kaleyta" Newsgroups: comp.os.msdos.djgpp Subject: Opening a file to read Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Sun, 11 Nov 2001 12:29:45 GMT NNTP-Posting-Host: 65.7.81.113 X-Complaints-To: abuse AT home DOT net X-Trace: news2 1005481785 65.7.81.113 (Sun, 11 Nov 2001 04:29:45 PST) NNTP-Posting-Date: Sun, 11 Nov 2001 04:29:45 PST Organization: Excite AT Home - The Leader in Broadband http://home.com/faster To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Using djgpp v2.03, Win98, & a FAT32 file system, I successfully compile and link a C++ program with the following code included; #include // I/0 header ifstream inFile; // Text file to read inFile.open("data.dat") // Text file cout << inFile; The program finds the file, but the output of the file name is in HEX (or something cryptic like that). When I try to "inFile.get" data, it hangs. The program runs fine on a UNIX box, but not with msdos/Win98. What am I missing? Thanks in advance, Scott