Mail Archives: djgpp/1999/12/08/12:39:27
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--
- Raw text -