KOD cpp: UKRYJ
#include <iostream>
struct inflatable
{
char name[20];
};
int main()
{
using namespace std;
inflatable guest =
{
"Glorious ",
};
cout << "goścmi są: " << guest.name;
return 0;
}
struct inflatable
{
char name[20];
};
int main()
{
using namespace std;
inflatable guest =
{
"Glorious ",
};
cout << "goścmi są: " << guest.name;
return 0;
}
Chciałbym żeby słowo "Glorious" było inicjowane w trakcie programu a nie kodzie.
Próbowałem przez cout,cin ale miałem drobne problemy.
Zależy żeby były to struktury
Przykład :
- Kod: Zaznacz cały
Podaj imiona gości :
Glourious
Gośćmi są Glourious






