C++ Handling Program arguments (argc, argv, env) | Modern Cpp Series Ep. 104

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 17

  • @StevenMartinGuitar
    @StevenMartinGuitar Год назад +7

    There we are - the most up to date video in the series (as of start of Dec '22). I've been working through the series one at a time. Learning loads - thanks for the continued effort to improve the community. Keep up the great work! Looking forward to future videos.

    • @MikeShah
      @MikeShah  Год назад +2

      Wonderful -- thank you for the kind words Steven! Much more to come this year and the next!

  • @scullyy
    @scullyy 8 месяцев назад +1

    Good to see someone struggle to write "endl" as much as me!

    • @MikeShah
      @MikeShah  8 месяцев назад

      😅 It's probably my most common compile error.

  • @qcnck2776
    @qcnck2776 Год назад +1

    Great to see practical usage of arguments!🎯

    • @MikeShah
      @MikeShah  Год назад +1

      Cheers 🙂 It was a long overdue subject to cover

  • @matteoroccomico
    @matteoroccomico 10 месяцев назад +1

    really useful and well done video

  • @MrTNVolsFan
    @MrTNVolsFan Год назад +1

    How would you change the change the arguments using Visual Studio 2022?

    • @MikeShah
      @MikeShah  Год назад

      Should be a 'settings' in MSVC to pass in args if you're running through your IDE

  • @abhishek_karki
    @abhishek_karki Год назад +1

    This is a great series, can we get videos on the std::variants, std::visit and std::optional.

    • @MikeShah
      @MikeShah  Год назад +2

      Cheers! I have a video on std::variant here (ruclips.net/video/VZT2E8LAxCw/видео.html). For std::visit and std::optional, I will eventually add those :)

  • @ankitarockinggirl
    @ankitarockinggirl Год назад +1

    If you had to suggest one book for learning C++ including all the latest stuff, what would that be? and could you also suggest one for design patterns/best practices in C++ as well? Thank you

    • @MikeShah
      @MikeShah  Год назад +1

      Going to have a video on that topic coming up shortly in the series :) API Design in C++ is my favorite to name one.

  • @monty6393
    @monty6393 Год назад +2

    Think of compiling your code by passing your current .cpp filename as an argument to another .cpp which in return actually runs your code isn't it cool 😉

  • @ARANDOMOPENAIUSER
    @ARANDOMOPENAIUSER Год назад

    4:25