mardi 1 juin 2021

How to parse a math expression like "ax + b" in cpp

Hi i want to parse a string into 2 numbers

lets say the user inputs: 8x + 4

it gets parsed into 2 variables: a = 8, b = 4

I'm not so good with cpp, so thanks for helping in advance

Aucun commentaire:

Enregistrer un commentaire