for exmple i want to convert this string "21 4 5 7 - + -".. how can i get the numbers separately and parce it with the other symbols..
unli25
0
Newbie Poster
Recommended Answers
Jump to PostRead about strtok which tells you what function to use to separate a string into tokens. Then use atoi to try to parse the string as an int.
All 2 Replies
Reply to this topic
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.