Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write pseudo code for the problem below. Your program must be capable of accepting, from the command line, the target directory to be processed. If

Write pseudo code for the problem below.

Your program must be capable of accepting, from the command line, the target directory to be processed. If there's no directory specified on the command line, your code should assume that the target directory is the one the user's process is currently running from. (HINT: ./ ) You code should then use opendir(), readdir() and stat() to select out the specific files matching the above criteria. Once you have found the 4 targets, then you should list out the files in "long format" similar to what you would see if you did an "ls -l" for the specific file. Your code should also identify which criteria is being met for each output.

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

Pro Android Graphics

Authors: Wallace Jackson

1st Edition

1430257857, 978-1430257851

More Books

Students also viewed these Programming questions

Question

What are the attributes of a technical decision?

Answered: 1 week ago