Question: i need help with program in c++ using isaplha and isdigit while reading a file that has text and digits in it, so if the
i need help with program in c++
using isaplha and isdigit
while reading a file that has text and digits in it, so if the text file contains numbers in it, it would print out the numbers in it.
so while reading the character one by one, if is it is a digit, read the digit untill the next space, same with the words, if the file cotains words, read it untill the next space
so if the file contains
This year is 2018
the outcome would be
this is a word This
this is a word year
this is a word is
this is a number 2018
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
