C++ Programming Tutorial: Command - line arguments // how to use argc and argv

preview_player
Показать описание
Let's see how you can write programs that allow you to accept arguments at the command line.

For example, if you type:

foo hello world

at the command prompt, I'm going to show you how your foo program can use the hello and the world.

This C++ programming tutorial for beginners will demonstrate how to do it using an example program built with Visual Studio 2022 C++.

// Check out my complete C++ videos playlist:

// Consider supporting this channel in multiple ways
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB

#C++ #Programming #Tutorial
Рекомендации по теме
Комментарии
Автор

You are such a nice teacher. Thanks A LOT!

aryanviolett
Автор

hi sir, i still haven't programmed in the command promt although i have carried out in the sequence instruction. could you instruct me in the paticular way? could you specify the file directory clearly?

ONeillHoang
Автор

For the last part with the summing of the numbers. Would atof still work if project1 contained characters? Having trouble understsnd atof. I read the definition but still kind of don't get it

yoinky