Hey guys I'm having trouble on placing my loops I actually want to make a square and I dont know how to manipulate my own placement because I am used to gotoxy(); and I think it only works in TurboC++... As of now I am using DevC++ .. Can you tell me what to do ??
for(int q=15;q>0;q--){
cout<<"*"<<endl;
}
for(int q=15;q>0;q--){
cout.width(25);cout<<"*"<<endl<<setprecision(8)<<right;
}
for(int i=1; i<=50; i++){
cout<<"*";
}