How to make interactive cli app in c. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make interactive cli app in c.

23rd Oct 2022, 8:50 AM
Aditya Dhiman
Aditya Dhiman - avatar
1 Answer
+ 3
Create a loop. Inside the loop. 1. Print options with numbers. 2. Take user input (the number). 3. Run the command (use a switch). 3.1 Take extra input's if necessary for the command. Each command is a separate function.
23rd Oct 2022, 9:10 AM
Mustafa A
Mustafa A - avatar