Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Program Please! Need a program that reads a file, stores its contents into an array, THEN reads a another file called the command file

C++ Program Please!

Need a program that reads a file, stores its contents into an array, THEN reads a another file called the command file that tells you what data you need to search and get from the array.

EXAMPLE INPUT FILE thats stored into array:

{name:Jone. Rock,age:25,dept:CS},{na me:Alice.Sun,age:46,dept:CS}, {name:Asen.Huan,age:30,dept:EE},{name:Bob.Carlos,ag e:20,dept:EE}, {name:Am aya.Jeremy,age:24,dept:ISS SO},{name:Kim.Jose,age:34,dept:Edu}

THEN READ THIS COMMAND FILE:

name:JONE.ROCK

EXAMPLE OUTPUT, MUST REMOVE WHITESPACES!

{name:Jone.Rock,age:25,dept:CS}

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

Students also viewed these Databases questions

Question

LO5 Describe job analysis and the stages in the process.

Answered: 1 week ago