0

How Cli Apps are made using C programming language ?

How text are colored and ui is made ?

22nd Oct 2022, 8:44 AM
Aditya Dhiman
Aditya Dhiman - avatar
1 Answer
+ 6
The command line arguments get passed into main through the main function parameters argc and *argv. int main(int argc, char *argv[]) argv[0] will be the executable name argv[1] ... argv[argc - 1] will be command line elements.
22nd Oct 2022, 9:18 AM
Brian
Brian - avatar