Witam,
Gdy chcę odpalić ten program wyskakuje mi komunikat " has no member named 'lenght' ". Proszę o pomoc.
#include <iostream>
using namespace std;
int main()
{
string imie;
cout << "Podaj mi swoje imie: ";
cin >> imie;
int dlugosc = imie.lenght();
cout << dlugosc;
return 0;
}