Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by gruby ( 14 years ago )
istream & operator >> (istream & StrmWej, LZespolona & LZ)
{
StrmWej >> LZ.Re; // pobiera czesc rzeczywista
StrmWej >> LZ.Im; // pobiera czesc urojona
if(StrmWej.fail()) { return StrmWej; }
char znak = 'a'; // znak oznacza znak 'i'
StrmWej >> znak;
if (znak != 'i') { StrmWej.setstate(ios::failbit); }
return StrmWej;
}
błąd
lzespolona.cpp:6: error: expected initializer before '&' token
Revise this Paste