S
S
sickandtiredofit2019-11-19 18:48:40
C++ / C#
sickandtiredofit, 2019-11-19 18:48:40

How to split a string of an arithmetic expression?

You need to split the string of an arithmetic expression. For example 123+78+11 by 123, +, 78, +, 11. Can this be done through functions in the standard libraries. If on your own, how? It is desirable that numbers be converted to int/long and operands to char. C language.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2019-11-19
@fshp

It is also possible through the functions in the library https://habr.com/ru/post/325446/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question