linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John T. Williams" <jtwilliams@vt.edu>
To: linux-c-programming <linux-c-programming@vger.kernel.org>
Subject: stdio
Date: Wed, 18 Jun 2003 05:58:42 -0400	[thread overview]
Message-ID: <011801c33580$48425aa0$e764a8c0@fesnel.noip.org> (raw)

I am trying to figure out how to cause a character to be printed to a
specific place on the terminal

what I'm actually trying to accomplish is to make a progress bar

example:

Progress [*****                           ]  25%

and I want it to fill up the box with stars as my program progresses, but I
can't figure out how to just get c to write a single '*'  to anywhere other
then the end of the streak
I tried lseek and got no good results.

I'd really like any advice anyone has on this.


             reply	other threads:[~2003-06-18  9:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18  9:58 John T. Williams [this message]
2003-06-18 12:02 ` stdio Jan-Benedict Glaw
2003-06-18 12:17 ` stdio Luciano Moreira - igLnx
2003-06-18 13:04 ` stdio Stephen Satchell
2003-06-18 17:45   ` stdio Glynn Clements
2003-06-18 18:30 ` stdio Chris Nanakos
2003-06-19  7:33   ` I'm really starting to dislike stdio John T. Williams
2003-06-19 11:26     ` Jan-Benedict Glaw
2003-06-19 17:39       ` Glynn Clements
2003-06-19 12:56     ` Andrés Roldán

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='011801c33580$48425aa0$e764a8c0@fesnel.noip.org' \
    --to=jtwilliams@vt.edu \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).