#ifdef

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

КОМЕНТАРІ • 23

  • @madinadumanova9508
    @madinadumanova9508 6 місяців тому +2

    i just cant believe why your courses do not have most views for c youtube tutorials. Thank you so much for these lessons!!!

  • @__Tony
    @__Tony 2 місяці тому

    I am working on a project where I need to run my C code on different Operating Systems and to make this portability the use of pre-processing directives are essential! Thank you for the class!

  • @user-ht3tkv
    @user-ht3tkv 2 роки тому +3

    Great video as always. I was wondering if you could make a video about socket programming in c, because i haven't found many videos that explain this topic on UA-cam, and the ones i found don't really explain it in detail like you do in your videos. Your content is very informative. Keep up the good work man.

    • @PortfolioCourses
      @PortfolioCourses  2 роки тому +3

      Thank you so much Mohammed! I definitely want to cover sockets and other types of network programming in C one day. :-)

    • @user-ht3tkv
      @user-ht3tkv 2 роки тому +2

      @@PortfolioCourses Thank you. I'm looking forward to it :)

  • @brigadut
    @brigadut 5 місяців тому

    This is art thanks

  • @Gundyr54
    @Gundyr54 Рік тому +1

    thank youuuuuuuuuuuuuuuuuuu

  • @aminebouobida877
    @aminebouobida877 2 роки тому

    Thank you.
    Very helpful.

  • @s66k854fh
    @s66k854fh 29 днів тому

    nice

  • @omarabbas6541
    @omarabbas6541 Рік тому

    thanks bro

  • @appdeveloppement532
    @appdeveloppement532 2 роки тому

    hey when you use -E that mean you stop in the first step (pre-processing) and the file d give you the result of this step. Please if this is correct tell me (options) how can get the other steps of compilation (compiling - assembling - linking)

    • @PortfolioCourses
      @PortfolioCourses  2 роки тому +1

      Yes, that is correct. In terms of how to get the other steps of compilation I can't recall off the top of my head, but it should be covered in this documentation here or similar documentation: gcc.gnu.org/onlinedocs/gcc/Overall-Options.html. :-)

    • @appdeveloppement532
      @appdeveloppement532 2 роки тому

      @@PortfolioCourses thank you Sooo much kevin :)

    • @PortfolioCourses
      @PortfolioCourses  2 роки тому

      You're welcome! :-)

  • @didiTchu
    @didiTchu 2 роки тому

    perfect

  • @appdeveloppement532
    @appdeveloppement532 2 роки тому

    Another Question :) I have this block of code in a header file (my_header_file.h) :
    #ifndef MYHEADER_H
    # define MYHEADER_H
    /* some declaration functions */
    #endif
    My question is:
    there is a relation between the name of headerfile (my_header_file.h) and this macro MYHEADER_H?
    And what's the reason for using this Macro?

    • @PortfolioCourses
      @PortfolioCourses  2 роки тому +1

      Great question! :-) It's basically a "guard" to make sure things aren't being defined multiple times by including the header file multiple times, these answers here go into better detail than I can: stackoverflow.com/a/1653965.

    • @appdeveloppement532
      @appdeveloppement532 2 роки тому

      @@PortfolioCourses I suggest to you to create a server discord if you want :) ( to discuss with other members of channel ) it's just a suggestion ;)

    • @PortfolioCourses
      @PortfolioCourses  2 роки тому +1

      @@appdeveloppement532 The issue is then administering the Discord server. 🙂 Maybe one day when I have more resources/money available.

    • @appdeveloppement532
      @appdeveloppement532 2 роки тому

      @@PortfolioCourses ah Yeah Yeah okey :)