W3C home > Mailing lists > Public > www-talk@w3.org > January to February 1998

c++ programming

From: MNewman943 <MNewman943@aol.com>
Date: Wed, 21 Jan 1998 12:44:07 -0500 (EST)
Message-ID: <9c1d435e.34c63168@aol.com>
To: www-talk@w3.org
I am a new c++ programmer, and I hope that either you or someone you know of
that could help me with the following problem.

I started playing around with text documents and I can open, append, and
output.  Now I want to know how to format text before the user sees the text.
Suppose I have a text file. And every time the /l is read I want it to take
the entire line and have the text begin a new line of text.  The same would
apply for paragraph formats etc.  Do I need to build a formal parser to handle
the formatting codes??  If I do then I need to be shown how a little snippet
of the source code would look.  Could you please help me?? No one I know seems
to know the answer to that question.  I have been stuck for soooo long now
that I am beginning to get really frustrated.  Basically I am creating a word
processor from the ground up.  All of the other things are done I just want to
know how to format data.  The real thing that I want to test with this program
is taking html tags and using those in my newly created word processor.  But
first I have to know how my format codes should be handled by the format
procedure of my program.  Thank you very much for reading my email.  I would
greatly appreciate any help that you could give me.

Received on Wednesday, 21 January 1998 12:50:05 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:22 UTC