Getting Command-Line Arguments in C

preview_player
Показать описание
---

Getting Command-Line Arguments in C // Another beginner C video, this one shows you how to handle command-line arguments passed into your program from the terminal.

String videos:

About pointers and arrays:



***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.

About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:

To Support the Channel:
+ like, subscribe, spread the word

Want me to review your code?

You can also find more info about code reviews here.
Рекомендации по теме
Комментарии
Автор

I love how you identify stumbling blocks and quickly go over the basics nobody else bothers with. Wish I had had your videos 20 years ago!

chriswaggoner
Автор

Such a needed video. We need these kind of short and concise videos man

I_Like_Dimsum
Автор

Well explained and easily understandable which is rare.

namewithheld
Автор

Really helpful and helped me understand argv and argc better. Thank you

myrajarenga
Автор

Just started cs50 and could not understand command line arguments, this helped me a lot! Thank you!

MrBrancomusic
Автор

great video! Even though you hurt me in the soul a little by calling me a beginner. It is true, of course

victorcercasin
Автор

Thanks Jacob, it's really helpful

manoharpanwar
Автор

Awesome video thanks a ton man keep up the good work

robertwitt
Автор

Very good and really helpful tutorial thanks a lot:)

fergespacalovits
Автор

Thank you so clear and simple! Thank you

rivkas
Автор

Hey brother Sorber! I don't know if you remember me but I served part of my mission in your area towards the end of 2018 and beginning of 2019. You talked to me about the difference in computer engineering and software engineering and convinced me to pursue a degree in software engineering. I happened to stumble on this video as I'm trying to quickly learn C for a project in my computer networks class. I hope all is well!

jaxondowning
Автор

Hello, I just found you through this video and, from a glance at your channel, I see that you make videos on just what I am passionate about: low-level languages, embedded systems and hardware... well, I *had to* subscribe!! :p haha. Anyway, thank you for sharing your knowledge! Greetings from Argentina.

ujpcdyj
Автор

Wonderful video with a great example to help illustrate its function thanks a ton!

joeman
Автор

Holy cow! That was awesome! Thank you!

toddschmieder
Автор

Could you go into more detail in another video on the command line? Like how to make a command utility, run multiple programs using the command utility, and to pass args to a second prog?

robertnelson
Автор

I actually cant believe id did not use this in my coding classes. ty sm!!

cryptic_daemon_
Автор

Can I change value of argc or argv? I saw something like that in CodeBlocks, they add some numbers there and argc or argv can write them out. (I use dev cpp)

tomasvalent
Автор

how can i use argv to trigger different methods e.g. "anapp dostuff" returns "doing stuff"

bikki
Автор

What text editor are you using ? Also if you run a file with a text document piped in like “ ./a.out < file.txt “ do you have to open the file or can you simply loop through the file and store data as needed ?

Alexis_Lynna
Автор

Hello sir! I'm taehee from South Korea! thanks for great video! There's one thing I'd like to know about argc and argv. It might be further question from this video content! But I'd like to know how main function get "what I type in on the command line"...! like how....! or like how it works!! Is there any video that I might wanna watch to answer this question? or can you explain this for me?? thanks sir!

taeh