c - Comparing the characters -


i writing code solving arithmetic expression like:4+3-2*6*(3+4/2)

for need compare operators in string precedence like:

1. ( or ) 2. * or / 3. + or - 

can tell me how compare 2 characters. ascii values not in order want!

use lookup table. if using ascii, 256 element table. index char.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -