D
D
Daniil Demidko2015-12-21 06:06:42
C++ / C#
Daniil Demidko, 2015-12-21 06:06:42

Is it possible to parse a string without reverse polish notation?

I'm writing a calculator for such expressions:
4+5-2*2-6.23+(7-8*9.5)+45
I couldn't cope with the reverse Polish notation, can I do without it here?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2015-12-21
@Rsa97

Can. Make a simple state machine and calculate with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question