Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago