Subj : Re: DOS question (revised) To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Sat Jul 12 2003 08:30 pm The two compilers are not the same and the support in Turbo C, Turbo C++ and Borland C++ is the same, you can read the contents of the screen with gettext and write it with puttext. You do not have the overhead that you show with your PowerC code example where redunandant and unneeded x and y coordinates are gotten and saved for each character cell. ---------------------- void SaveScreen(FILE *fptr, int left, int top, int right, int bottom) { int scn_image[132 * 50]; gettext(left, top, right, bottom, scn_image); fwrite(&left, fptr); fwrite(&top, fptr); fwrite(&right, fptr); fwrite(&bottom, fptr); fwrite(scn_image, (right - left + 1), (bottom - top + 1) * sizeof(int), 1, fptr); } ---------------------- Spend a little time reading the compiler documentation instead of trying to twist it to PowerC. Read up on the functions in CONIO.H, window, wherex, wherey, gotoxy, gettext, puttext, textcolor, textbackground, the text_info structure, gettextinfo and _setcursortype. .. Ed > Rob C wrote in message > news:3f108467$1@newsgroups.borland.com... .