gotoxy(36,12); for(int i=0;i<8;++i) =here is where the problem comes { p[i]=getch(); if(p[i]==’b’) { printf("b b"); i=i-2; } else cout<<"*"; } p[i]=’’; getch();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)