Adding an 'Are You Sure' Dialog in Codesys - Introduction to Pointers

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 2

  • @AliG.G
    @AliG.G 4 роки тому +1

    I am not sure what you did with the pointer! I do not see whats the point in having a pointer you might as well declare a bool and toggle the light. Why bothering pointing to memory address and dereferencing and all the crap. In C I know one application where you have to use a pointer and there is no other way around it. Pointers have to be used when you are returning multiple values from a function. That makes a lot of sense, C is nothing like Python!

    • @rosseygi
      @rosseygi  4 роки тому

      What's up Ali G? I made a followup video that hopefully clarifies why the use of the pointer here is advantageous. Happy to help and thanks for the interest! Adding an 'Are You Sure' Dialog in Codesys - Introduction to Pointers Part 2: ua-cam.com/video/kHYUbUurz1w/v-deo.html