Mail Archives: djgpp/1999/12/05/15:10:07
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>
- Raw text -