| www.delorie.com/djgpp/mail-archives/browse.cgi | search |
| Message-ID: | <384BED7D.A59C809F@arcticmail.com> |
| From: | N J Chackowsky <nick AT arcticmail DOT com> |
| X-Mailer: | Mozilla 4.5 [en] (Win95; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: gcc and ansi.sys question |
| References: | <Pine DOT GSO DOT 4 DOT 05 DOT 9912051432440 DOT 28045-100000 AT shell DOT clark DOT net> |
| Lines: | 66 |
| Date: | Mon, 06 Dec 1999 17:04:57 GMT |
| NNTP-Posting-Host: | 206.45.76.75 |
| X-Trace: | typhoon.mbnet.mb.ca 944499897 206.45.76.75 (Mon, 06 Dec 1999 11:04:57 CST) |
| NNTP-Posting-Date: | Mon, 06 Dec 1999 11:04:57 CST |
| Organization: | MBnet Networking Inc. |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
This is a multi-part message in MIME format.
--------------E395330F0F9D7C9F9F254D1C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Unless I miss my guess, besides using cprintf, you'll also want to do
gotoxy(col, row);
instead of the other way around.
Nick.
Jude Dashiell wrote:
>
> I wrote some code and compiled it using gcc and found I must have been
> doing things incorrectly with screen control since results for sighted
> users were unuseable. A short relevant sample of the code follows:
> #include <stdio.h>
> #include <conio.h>
>
> row=2;
> col=30;
> gotoxy(row,col);
> printf("natal chart locator");
> row=4;
> col=3;
> gotoxy(row,col);
> printf("astrological");
>
> My guess is that stdio.h and conio.h are fighting. I'd like to do things
> in such a way as to avoid conflict, so does gcc have ansi screen control
> functions outside of conio.h that can replace gotoxy()?
> Since I use a screen reader when I work with gcc it's essential I avoid
> any extra cprintf() functions since those write to the screen in such a
> way as to mess output up very badly. Specifically the screen output
> sounds jumbled.
>
> --------------------
>
> jude <jdashiel AT clark DOT net>
--------------E395330F0F9D7C9F9F254D1C
Content-Type: text/x-vcard; charset=us-ascii;
name="nick.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for N J Chackowsky
Content-Disposition: attachment;
filename="nick.vcf"
begin:vcard
n:Chackowsky;Nick
tel;cell:204 729 6011
tel;fax:204 729 0365
tel;home:204 728 8184
tel;work:204 729 0363
x-mozilla-html:TRUE
url:http://www.brandonsd.mb.ca/massey
org:Vincent Massey High School;Business Education / Technology
adr:;;715 McDiarmid Drive;Brandon;Manitoba;R7B 2H7;Canada
version:2.1
email;internet:nick AT arcticmail DOT com
title:Teacher
fn:Nick J Chackowsky
end:vcard
--------------E395330F0F9D7C9F9F254D1C--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |