What version of gcc are you using? Are you using c++ functions for file i/o
(fstreams) or c functions? I experienced file corruption a while back when
using fstreams in gcc/g++ packages before version 3.4.0. Seems to be fixed
now.
----Original Message Follows----
From: THAMAE <m_t...@ya...>
To: Dev-C++ <dev...@li...>
Subject: [Dev-C++] Reading and Writing to a file
Date: Wed, 25 Aug 2004 05:45:44 -0700 (PDT)
MIME-Version: 1.0
Hi All!
I am trying to develop a small database that reads and writes records to a
text file and as I save more records to the file it gets corrupt. Is there
an alternative to writing to a text file except advanced databeses such as
Excel?
Thanx all.
Thamae
---------------------------------
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
|