I am designing a chess game using the UCI Protocol. The program requires line commands as input.
My question is if I need a function separate from the main() function for parsing these commands, and also how to I get the input for parsing? I realize that char* argv is named in the function parameter, but I found that using argv = cin.get() didn't work. 
I have looked at many tutorials and none of them answer either question.
Also I'm sorry if this is badly worded.
