What are command line arguments (argc and argv)?

preview_player
Показать описание
argc, argv and command line arguments are something that you are probably used to seeing every project you create. In this video we take a look at what these 2 parameters are, how to use them and why they are so useful.

Рекомендации по теме
Комментарии
Автор

hello great video as always, I would just like to point out for anyone who wants to pass a string containing a space inside of it as an argument, the command line doesn't actually split by spaces (4:26), you can actually use speech marks like this: Tutorial.exe test "test2 and test3" test4
And this would return
argv[0]: Tutorial.exe
argv[1]: test
argv[2]: test2 and test3
argv[3]: test4

alricboullemant
Автор

Very useful video....especially I like last few minutes about where these command line arguments are getting used in reality.... Keep up the good work

srinivasanc
Автор

Thank you SO MUCH for this video. As a first semester computer engineering student, videos like this are SO freaking valuable to noobs like me. The fact that you are uploading such interesting and well explained videos should be acknowledge. Thank you so much, good sir.

pablomolero
Автор

I like the way you explain, step by step in a coding environment, instead of doing so only theoretically. Your videos really helped me. Thanks and keep it up!

DimitriosCharalampidis
Автор

Your channel is Babel's library for computer science students

TheLostCrusader.
Автор

You definitely know what you are doing and spreading confidence when you are explaining. Thank you so much for such a clear and fluent explanation!

isagumus
Автор

The best explanation I've seen on this topic, that seems so cryptic to learn anywhere else.

Lexyvil
Автор

One of the greatest educators on this platform hands down.

julianrochacz
Автор

My friend you are simply an excellent teacher. I am very appreciative of these C tutorials. I have purchased a C course on Udemy which happens to be taught by another Italian guy. Between the two of you I will be fluent in no time.

shaboobis
Автор

really solid and easy to understand sir, thanks for you tutorial

hoangt
Автор

I Just Want To Thank You And Keep Doing What You Are Doing !
You Will Be Of Great Help To A Lot Of People, As You Are Now !

jeshuruncarlos
Автор

Very well explained, this has been quite useful, I keep coming back now

joeyhanni
Автор

bro seriously when i saw you first time i was like you have million subscriber but when i saw your subs it really didn't matched post video more frequently you'll quickly get more subscriber you are so good

eqbalkhan
Автор

You're the goat. You explain everything so clearly, thank you.

Lawton
Автор

Omg, I've been pulling hairs trying to understand what's going on. Thank you!!!

ezcomander
Автор

I am will comment in your every video you just continue 🙏 making that lovely content my friend.

ALLIN-dcmy
Автор

Thank u so so much sir. Preparing for my interview's first round at multicoreware and this helped me so much. Love from INDIA ❤️🇮🇳

oviya.n
Автор

Thank you for providing such knowledgeable content !

priyavartrajain
Автор

Beautiful tutorial. Explained perfectly thank you so much.

madsecond
Автор

thank you for all the videos, they have really helped me a lot

taqueritovaquerito