#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
string imie;
cout << "imie: ";
cin >> imie;
printf("%s", imie);
}
Wywala błąd: [Error] cannot pass objects of non-trivially-copyable type 'std::string {aka struct std::basic_string<char>}' through '...'
To na pewno trywialny problem, ale jak go nie rozwiążę, to praktycznie nic nie zrobię :) Proszę o pomoc.