![SOLVED] how to get argc and argv[] and make a background task - C++ Programming - UNIGINE Developers Community SOLVED] how to get argc and argv[] and make a background task - C++ Programming - UNIGINE Developers Community](https://developer.unigine.com/forum/uploads/monthly_2020_08/image.png.d94712ea4aa5bd1718957023817a776b.png)
SOLVED] how to get argc and argv[] and make a background task - C++ Programming - UNIGINE Developers Community
![What does this program do ? #include int main(int argc, char* argv[]) { int i; printf("%d arguments\n", argc); for(i = 0; i < argc; i++) printf(" %d: %s\n", - ppt download What does this program do ? #include int main(int argc, char* argv[]) { int i; printf("%d arguments\n", argc); for(i = 0; i < argc; i++) printf(" %d: %s\n", - ppt download](https://images.slideplayer.com/16/5145378/slides/slide_5.jpg)
What does this program do ? #include int main(int argc, char* argv[]) { int i; printf("%d arguments\n", argc); for(i = 0; i < argc; i++) printf(" %d: %s\n", - ppt download
![SOLVED: int mainint argc, char*argv[] ifargc==2 printf(Format:"The argument supplied is %s ", argv[i]); else ifargc>2 printf(Format:"Too many arguments supplied. "); else printf(Format:"One argument expected. "); Suppose that we compile and run the SOLVED: int mainint argc, char*argv[] ifargc==2 printf(Format:"The argument supplied is %s ", argv[i]); else ifargc>2 printf(Format:"Too many arguments supplied. "); else printf(Format:"One argument expected. "); Suppose that we compile and run the](https://cdn.numerade.com/ask_images/91c8be4eac024d7ea42c590250a55ad4.jpg)