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

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -