if you don’t want to/can’t use libraries
c==' '||c=='\t'||c=='\n'||c=='\r'
note that \r
is a carriage return it’s part of the windows \r\n
combination (and used commonly in network protocols)
solved Character Comparison [closed]
if you don’t want to/can’t use libraries
c==' '||c=='\t'||c=='\n'||c=='\r'
note that \r
is a carriage return it’s part of the windows \r\n
combination (and used commonly in network protocols)
solved Character Comparison [closed]