Console inputs, how can i process them ?
All the open source softwares have console inputs but i am unable to understand how they process them. I am designing a program that accepts various inputs ( eg : i- file_name -s server_name etc etc ) but am unsure how to properly write code to process the inputs and save the variables efficiently.
i have used several for loops and crazy if loops too but the code is very messy and it uses more resources than it should. someone mentioned indexing to me, still trying to get that to work though.
any suggestions anyone ?
|