Mail Archives: djgpp/1999/04/05/03:00:13
From: | Ryan Harrell <8harrer AT fontbonne DOT edu>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | cout and gotoxy
|
Date: | Sun, 04 Apr 1999 17:22:42 -0500
|
Organization: | STARNET, L.L.C.
|
Lines: | 21
|
Message-ID: | <3707E632.CFD0263E@fontbonne.edu>
|
NNTP-Posting-Host: | gatekeeper.fontbonne.edu
|
Mime-Version: | 1.0
|
X-Mailer: | Mozilla 4.51 [en] (Win98; I)
|
X-Accept-Language: | en
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
in the following program I want to display only one "hello world" at
position (10,10). Instead I get fify in a row?? why? It works fine in
TCC 3.0.
#include <iostream.h>
#include <conio.h>
void main(){
clrscr();
for(int i=0;i<50;i++){
gotoxy(10,10);
cout<<"Hello World";
}
}//end main
Ryan
- Raw text -