Article View: comp.os.msdos.programmer
Article #7411Problem with BC++ 2.0 cprintf()
From: Doug Stevens
Date: Sat, 29 Jun 1991 01:04
Date: Sat, 29 Jun 1991 01:04
40 lines
1006 bytes
1006 bytes
-----
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 -----
Technical Details
Message-ID:
<1991Jun29.010457.5674@tvnews.tv.tek.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!tvnews!dougsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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