No video

Command line arguments - C Programming Course STEP by STEP (19)

From the command line you can send arguments to your C program. And you can do it through argc and argv, being the first one an integer that has the number of arguments that we pass and argv a pointer to an array of strings, that contains the arguments that we are passing.
Today I tell you how to work with argc and argv, and of course we experiment with memory and continue to strengthen our knowledge of arrays, strings and pointers.
Contents:
00:03 - What are command line arguments (argc, argv).
00:27 - What is argc - argument counter
00:54 - What is argv - argument vector
00:54 - What is argv - argument vector
01:16 - Example of argc
01:36 - What are attribute directives in the C programming language
02:40 - Example of argv
04:34 - Difference between char *argv[] and char **argv
04:57 - Example of argc and argv with memory addresses
Watch all the videos of the C course: • Aprende a programar 📙 ...
See the C course repository: github.com/dfb...
Facebook: goo.gl/HDLFyn
Twitter: goo.gl/pcFziM
#LearnProgramming #CourseC

Пікірлер