[ad_1]
you’re comparing int with char
should be:
if (liczba[i] == '0') {}
else if (liczba[i] == '1') {}
0
[ad_2]
solved C++ comparing string elements to an int [closed]
[ad_1]
you’re comparing int with char
should be:
if (liczba[i] == '0') {}
else if (liczba[i] == '1') {}
0
[ad_2]
solved C++ comparing string elements to an int [closed]