Check out example codes for "error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(s[i] != "b"){". It will help you in understanding the concepts better.

Code Example 1

if (response == 'Y')

Learn ReactJs, React Native from akashmittal.com