Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!tvnews!dougs From: dougs@tvnews.tv.tek.com (Doug Stevens) Newsgroups: comp.os.msdos.programmer Subject: Problem with BC++ 2.0 cprintf() Message-ID: <1991Jun29.010457.5674@tvnews.tv.tek.com> Date: 29 Jun 91 01:04:57 GMT Organization: Tektronix TV Measurement Systems, Beaverton, OR Lines: 39 ----- 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 #include /* ** 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 -----