Control structures in C++

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

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

  • @CodeForYourself
    @CodeForYourself  2 года назад

    Seems like I left my mouse in the middle of the slides 😅 Sorry about that, hope that does not influence your experience! Thanks for watching and as always, please tell me what you like and dislike so that I could adapt better to your needs 🙏

  • @marwanzaghloul6065
    @marwanzaghloul6065 2 года назад +1

    Please, can you suggest a reference or a textbook that I should follow along with this playlist

    • @CodeForYourself
      @CodeForYourself  2 года назад +1

      This course doesn't really follow any book I know of. You should be good with just following the lectures in the GitHub repository: github.com/cpp-for-yourself/supplementary-materials

    • @marwanzaghloul6065
      @marwanzaghloul6065 2 года назад +1

      @@CodeForYourself its a great well organized material ,thank you

  • @rodneydumenu4329
    @rodneydumenu4329 7 месяцев назад

    Tenary operator is challenging for me.

    • @CodeForYourself
      @CodeForYourself  7 месяцев назад

      What is it that confuses you with it?

    • @rodneydumenu4329
      @rodneydumenu4329 7 месяцев назад

      @@CodeForYourself I don't understand the syntax.
      say,
      z=(a>b)? a:b
      does it mean if a>b is true, z should store the value of a?

    • @CodeForYourself
      @CodeForYourself  7 месяцев назад

      @@rodneydumenu4329yes, you’re right! I should probably add this example to the lecture at 2:59 🤔
      Not only will it call the appropriate statement based on the boolean value on the left but it will return the result of that statement.

  • @ZackDia-Ptr
    @ZackDia-Ptr Год назад

    Hope your courses would make me like c++... b/c i dont like its constant updates

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

      Hey Zack. What don't you like about them?

    • @ZackDia-Ptr
      @ZackDia-Ptr Год назад

      @@CodeForYourself, the fact there are too many standards, one does not know which one to follow, c+11,c+14,...c+20... !!

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

      This particular part is not too hard. You just follow the latest standard that your computer supports 😅🤷‍♂️

    • @ZackDia-Ptr
      @ZackDia-Ptr Год назад

      @@CodeForYourself I've to, I guess cause i need the c++ for my finite element methods analysis ...

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

      @@ZackDia-Ptr for a finite element method analysis you don't really have to care about which standard you use to be honest. Back in the day of my bachelor studies I did with with C++98 (or maybe an even older standard) 😆 I would suggest to use C++17 for your project for now if you have no other constraints. It gives you a decently modern standard without exposing you too much to the _really_ new stuff.

  • @pau1976
    @pau1976 2 года назад

    Why the music background? It makes it harder to hear

    • @CodeForYourself
      @CodeForYourself  2 года назад +1

      Well, I'm still experimenting with this. I personally like the music on the background in videos but as this is not the first time I'm hearing it is distracting, I might give up on it altogether like in a couple of previous videos 😬

    • @pau1976
      @pau1976 2 года назад

      @@CodeForYourself music is ok for entertainment and info-entertainment videos. But for technical learning it is not the best

    • @CodeForYourself
      @CodeForYourself  2 года назад +1

      Yeah, that probably makes sense. Thanks for the feedback!

    • @kompila
      @kompila 2 года назад

      I love the music though 🙂