Subj : File I/O To : borland.public.cpp.borlandcpp From : "Michael" Date : Wed Dec 10 2003 05:18 pm Hi, Im having trouble trouble writing data to file, my code is below. However when the program is compiled, it states that "ifstream" is an undefined symbol, even though I have included "" at the top. char FileName[30] = "c:\myfile.dat"; char blank; ofstream dataOut; dataOut.open(FileName.c_str(),ios_base::out); dataOut<