I’m looking for small library or snippet, which can simply fill my program (c++ with qt) variables with parameters given in command line. What do you recommend?
Eg. string myVariable = libraryFunction("something");. Function searches for “-something” key in parameters list and sends its value to my variable.
Check out Boost Program_options. Also you mention QT, so this SO answer might help.