hi
so i am studying programming and i want to extract from an inputted string values in the left right and middle.
i have only begun learning a few months ago so i dont know anything about pointer
how to i build a funtion to extract the mid left and right of string.
For instance the input was 25+63=11
i want to extract the first number the opperand the second number and the answere so
a=25
b=+
c=63
d=11
so that i can add/sub/multiply/divide the first two numbers and check if the answere in the string is correct.
thank you.
Sandra_18 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Sandra_18 commented: thank you so much your feedback has been really helpful +0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.