Yup, the standard functions are portable, but the non-standard stuff =
like <conio.h> depends upon the compiler you are using. Character =
positioning and other such specifics of working with a particular =
graphics device weren't portable across all implementations so were =
never included. I've not noticed that getch() behaveing too different =
from other versions I have used in the past. In theory you could write =
your own gotoxy style funtion, either using console functions supplied =
by windows (but it will only work in widows) , or maybe some legacy DOS =
stuff I don't know about? It depends upon how masochistic you are =
feeling. :)
Jason.
----- Original Message -----=20
From: mi...@ju...=20
To: dev...@li...=20
Sent: Thursday, November 01, 2001 8:33 PM
Subject: [Dev-C++] gotoxy()
I'm really having a tough time with C++. One of the great things =
about it was that it was supposed to be extremely portable. Being a =
student taking AP Computer Science, I do my programming in one of two =
places; home and school. I use the free Dev C++ compiler at home, and =
at school I use a Borland IDE. I always have to convert my programs to =
get them to work to and fro, if at all. BUT CONIO PISSES ME OFF! I use =
conio.h that I found somewhere in Dev C++. Not only does getch() act =
all wrong, but it doesn't even have gotoxy()! I'm sorry if I seem a =
little over reactive, but it is excruciatingly aggravating. =20
|