how to read a file, line by line, into a GString?
- From: Peter Jay Salzman <p dirac org>
- To: gtk-app-devel-list gnome org
- Subject: how to read a file, line by line, into a GString?
- Date: Mon, 27 Aug 2001 09:59:20 -0700
dear all,
i'd like to read a file, line by line (discarding newlines) into a GString.
i can't figure out how to do this without using an intermediary char *, which
defeats the whole purpose of using GStrings in the first place.
well, i CAN do it using GString foo->str, but of course, i want to use
GString's access functions; not trample over its string data...
thanks!
pete
--
"The following addresses had permanent fatal errors..." p dirac org
-- Mailer Daemon www.dirac.org/p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]