Programming on my Phone: C++ COMMAND LINE ARGUMENTS | 2019
çağatay odabaşı
How to use command line arguments in C++? and what are int argc and, char * argv[]? In this video, we will write a C++ program to get command line arguments and print them using argc and argv variables. This is a C++ tutorial or example for C++ beginners.
Command line arguments are highly important and one of the core concepts of C++. This can be done via argc and argv arguments.
int argc is an integer which stores the number of arguments given to the program + 1. This +1 is for the name C++ program.
char * argv[] is an array of char *. Each element of argv stores one argument as char *.
By the way, I am writing code on my android phone which is Pocophone F1. So, in the beginning, that could be a little bit weird to watch C++ tutorial. :)
I hope you will enjoy!
C++ Playlist: https://www.youtube.com/playlist?list=PLDxlOCk8y6soqz3L0ZlZCd-rWeAviZS0K ... https://www.youtube.com/watch?v=z62jG45dqGM
7820541 Bytes