java - Too many characters in character literal - trying to check if my value is not within ASCII values '\0' -


/*visit nodes keys*/     if(root.alpha != '\0'){      } 

as title above says. how better? i'm trying check if character (root.alpha) not within spectrum. thanks.

to check character not within range of hexadecimal ascii codes 48 , 92:

if (root.alpha < 0x48 || root.alpha > 0x92) {     // ... } 

that is, not within range = less start or greater end.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -