Answer the question
In order to leave comments, you need to log in
How to get data from the command line and process it?
Hello everyone, tell me how to get data from the command line and process it
int main(int argc, char *argv[])
{
try
{
for (int i = 0; i < argc; i++)
{
if (argv[i] = "-conv_to_doc")
{
if (argv[i+1] = "-i")
{
wstring fl_nm = argv[i + 2];
RunSamples(argv[i], fl_nm);
}
}
}
int RunSamples(string conv_name, wstring file_name)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question