dougs@tvnews.tv.tek.com (Doug Stevens) (06/29/91)
-----
The following code worked with the libraries in TC++ 1.0, but seems to be
broken with BC++ 2.0. Any ideas on what I'm doing wrong?
It used to do this:
BBBBB
CCCC
DDD
EE
F
and now it does this:
CCCC
DDD
EE
FE
FE
----- code start -----
#include <conio.h>
#include <graphics.h>
/*
** Fxn: show the given line name
*/
void main(void)
{
clrscr();
window(1, 6, 80, 10);
gotoxy(1, 1);
cprintf("AAAAAA\r\n");
cprintf("BBBBB\r\n");
cprintf("CCCC\r\n");
cprintf("DDD\r\n");
cprintf("EE\r\n");
cprintf("F\r\n");
}
----- code end -----