I've already setup code::blocks for gnu gcc compiler but code:block or the compiler doesnt detect its own header files(which came with the compiler) im using borland turbo c++ for now and i have another c++ problem to ask,
and the result is
***********
*********
*********
*********
*********
*********
*********
*********
*********
why theres more than 9 stars in 1st line?
please anyone help!!
thax
Code:
#include <iostream>
#include <string>
#include <conio>
void main() {
int i,j;
for (i=0;i<10;i++)
for (j=0;j<10;j++){
gotoxy(i,j);
cout<<"*";
}
cin>>i;
}
and the result is
***********
*********
*********
*********
*********
*********
*********
*********
*********
why theres more than 9 stars in 1st line?
please anyone help!!
thax
Last edited:

