Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, I need a basic example(in C) how to apply next and previous in a menu. My menu has 3 sections 1st one is files.

Hi, I need a basic example(in C) how to apply next and previous in a menu. My menu has 3 sections 1st one is files. then directories and then operations. So In files, I need to show the name of 8 files hit next if there are more files it will show the remaining file names or else it will show the directories. After directory names (which are only 3 ), I hit next options are edit, sort, run, quit. Again mainly I need how to apply next and previous and also how to show 1st show 8 file names then remaining file names.

The best answer and the best review is promised. Yes, I need to apply it in the command line. So for exmaple the out put should look like this:

Files: 0.main.c

1.avc.txt

3. etc......(at least 8 files)

Directories: 0. dir

1.dir

Operations: E edit

S sort

R run

etc

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

Students also viewed these Databases questions