T
tomerdr
Hi,
I have a string which contains a math expression:"100*33-55+2355"
And i need to create a postfix representation.
I would like to create an 'iterator' which give me the correct sub
expressions
it=expression.begin() ; //*it='100'
it++; //*it='*'
it++; //*it='33';
Since i am a beginner with stl,i am currently thinking to implement
the iterator design pattern
on the string.
Is there another way to do it using 'stl style'?
Thanks in advance.
I have a string which contains a math expression:"100*33-55+2355"
And i need to create a postfix representation.
I would like to create an 'iterator' which give me the correct sub
expressions
it=expression.begin() ; //*it='100'
it++; //*it='*'
it++; //*it='33';
Since i am a beginner with stl,i am currently thinking to implement
the iterator design pattern
on the string.
Is there another way to do it using 'stl style'?
Thanks in advance.