I want to make a database storage in a computer shop which does not get removed even after closing the program.

void entry()
{
clrscr();
textcolor(RED);
gotoxy(32,4);
cputs("CITY COMPUTERS");
gotoxy(5,8);
cputs("Customer ID :");
gotoxy(5,10);
cputs("Customer name :");
gotoxy(5,12);
cputs("Customer address :");
gotoxy(5,14);
cputs("Customer Service number :");
gotoxy(5,16);
cputs("Customer Smart card number :");
gotoxy(5,18);
cputs("Customer Phone number :");
gotoxy(5,20);
cputs("Customer Bill number :");
gotoxy(45,8);
cin>>cno;
gotoxy(45,10);
gets(cname);
gotoxy(45,12);
gets(address);
gotoxy(45,14);
cin>>a;
gotoxy(45,16);
cin>>b;
gotoxy(45,18);
cin>>c;
gotoxy(45,20);
cin>>i;
}



closed account (S6k9GNh0)
Actually, I think using a remote MySQL server would suffice here with many benefits towards what you want.
Topic archived. No new replies allowed.