p align="justify"> # include
# include namespace std; hConsole = GetStdHandle (STD_OUTPUT_HANDLE);
Avto
{
char marka [10];
}; Stek
{
Avto a;
Stek * next;
};
bufer [255]; * rus (char * s)
{
CharToOem (s, bufer);
return bufer;
}
vvod (Avto & x)
{
cin>> x.marka;
}
Print (Stek * u)
{
int k = 0;
Stek * p = u;
if (p == 0)
{
cout <
return;
}
while (p)
{
p-> a.marka;
p = p-> next;
k + +;
}
cout <
else cout <
p = u;
SetConsoleTextAttribute (hConsole, 11);
cout <
while (p)
{
cout <<" t *";
cout <
a.marka <
p = p-> next;
}
cout <<" t ********" <
SetConsoleTextAttribute (hConsole, 7);
}
dobavlenie (Stek ** u, Avto & x)
{
Stek * t = new Stek;
strcpy (t-> a.marka, x.marka);
t-> next = * u;
* u = t;
}
Zabiraem (Stek ** u, Avto & x)
{
if (* u == NULL) {
return false;
}
Stek * t = * u;
strcpy (x.marka, t-> a.marka);
* u = t-> next;
delete t;
return true;
}
vyezjaet_iz_garaja (Stek ** u)
{
Stek * v = NULL;
Avto x;
char n [7];
cout <
cin>> n;
while (*...