What does int argc, char* argv[] mean?

preview_player
Показать описание
In this tutorial I explain the meaning of the argc and argv variables that are often passed in the main function of a C or C++ program.

STILL NEED MORE HELP?
Connect one-on-one with a Programming Tutor. Click the link below:

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

Argc is ARGument Count and and argv is ARGument Vector.

hass
Автор

I couldn't understand this for so long, I read some stack overflow, watched some tutorials, looked up some problems and nothing helped until I found this video, great explanation!! Feels way better to finally understand this

Rookwie
Автор

I want this guy to explain literally everything in my life

jam
Автор

Hey Paul, I'd like you to thank for putting your energy into making this tutorial. It was really enlightening and it made me comprehend the concept much better. Keep up the awesome job.

reneezmp
Автор

You CAN declare a variable inside a for loop in C. Just use C99 or C11.

mustafaadam
Автор

Never understood it until I saw you video 👌👍

mikroelektro
Автор

Awesome video! I'm brazilian and I want you to know that your video are healping people from all around the world! Thank you very much!

morenoramalhofreitas
Автор

You are literally the best my professor expected most of us to know c and it took me about 2 weeks on an assignment because i couldn't figure this out but bc of u i have been able to solve the task on the assignment. Thank u.

tonyblue
Автор

This scared me in the past to start with c++, but it's actually such a simple concept.

jahitrst
Автор

This is the clearest explanation I have ever seen on this particular item !

edwardmacnab
Автор

Thx Paul.
 I recall Jullian Assange saying, "commitment requires sacrifice, courage is contageous". (The latter meaning if you surround yourself w/ your peers, courage is contageous).
This said, while learning to code, (we're ALWAYS students however), we forget previous lessons etc, the "commitment" part is, constantly reviewing what we may forget.
This said, THANK YOU for your great work here on YouTube.
Cheers
T

eatyourspinachtomperez
Автор

Man, you are amazing! You really know what you're doing. Please, don't stop!!!

johncusack
Автор

You are better at explaining than my actual teachers. +1 sub

yann
Автор

I have been searching so much for this, even my book doesn't explain what is this, thx a lot

jesusnoseke
Автор

Quite a lucid explanation. Thanks Paul for making such an awesome video. You've gained a subscriber.

AZUBUIKETHANKGOD-wpri
Автор

I remember being so intimidated by this when I started learning C++. But then I learned that I didn't need it at all and I forgot about it completely.

mistakenmeme
Автор

OMFG I was reading about this for like 1 hours and couldn't understand shit, and you made it so clear!!! Thank you!!

s.spambot
Автор

That's very simple by listening you. Love the away you explain think. Nice work

makunenbrawl
Автор

Very clear, concise, to the point, intelligible. Many thxs

jalalbounaim
Автор

Mindblowing! First I wondered what it was in Java, then in C# and now I finally got the answer in C++ :)

adamodimattia