Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started