Re: [gtkmm] Filling a TextView from a text file?
- From: Markus Gerwinski <markus gerwinski de>
- To: Murray Cumming Comneon com
- Cc: bee pickle me uk, gtkmm-list gnome org
- Subject: Re: [gtkmm] Filling a TextView from a text file?
- Date: Wed, 30 Jul 2003 19:33:41 +0200
Murray Cumming Comneon com wrote:
> > From: Barnaby Gray [mailto:bee pickle me uk]
> > Use istream::get or similar to read blocks of data from the text file
> > and insert it into the TextView - obviously you'll have to be careful
> > with encodings though, and avoiding splitting utf-8 characters between
> > blocks (in which case reading line by line, might be easier).
> You might also look at regexxer's source, because it must do the same thing
> somehow.
Grepping the sources for ifstream and ofstream didn't yield any results...
Are there any other standard-C or -C++ data types for files I should look for?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]