0

hi,

i need to write a c++ program that takes input of a expression like say

y = 5 + 2b;

and gives out the output

y = 5 + 2b

it uses linked lists and the expression can be composed of integers, variables and operators. the encoding of tokens can be done by variables representing as negative integers like say -1 to -26 and other tokens can be represented by negative numbers less than -26.

I dont know where to get started for a program like this, I need help figuring it out.