Witam przerabiam lekcję 1 lekcję C++ w Code Blocksie o tym programie do bankomatu i ciągle wyskakuje mi error na dole w pasku bulid messages taki kumunikat:
error: no match for operators>> (operand types are ' std:: istream {aka std::basic_stream<char} ' and ' const char [4]')
piszę że jest w 8 lini ten błąd czyli: cin >> "PIN";
a to mój cały kod:
#include <iostream>
using namespace std;
string PIN;
int main()
{
cout << "witaj w naszym banku" << endl ;
cin >> "PIN";
return 0;
}
szczerze mówiąc to już się robi irytujące bo robie tak jak na filmiku i nie odpala mi programu