fprintf() Function Deep Dive | C Programming Tutorial

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024
  • An in-depth tutorial on how to use the fprintf() function in C to write to files (technically the function writes to "output streams"), including different ways to format output data, and outputting data in arrays (both 1D and 2D). Source code: github.com/por.... Check out www.portfolioc... to build a portfolio that will impress employers!

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

  • @KewiNeves
    @KewiNeves 2 года назад +4

    You must be without a doubt the best C teacher in youtube, every doubt I'm having I always end up in your videos, you're so clear with everything, I love it

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

      Thank you Kewin! I’m glad you’re finding the videos helpful. :-)

  • @JH-ux1re
    @JH-ux1re 2 года назад

    I’m very thankful and happy for this video! It helps me to review what I learned this semester in my classes and also teaches me more relevant stuff! You’re the best of the best! I love you 😘 I hope you will keep making videos all the time as long as you can, and you will help numerous beginners like me! Eventually you are changing the world 🌎

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

      Haha thanks so much for the kind words, and you're very welcome! :-) I am hoping to continue this channel for a long time, and eventually cover more programming languages, technologies and other concepts too.

  • @rubel.khalifa
    @rubel.khalifa Год назад

    awesome teacher thanks

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

    I tried fprintf(fp,"%s %d %f
    ",name,age,height); on my program and the output turns out to be
    John
    21 178.20
    Like after every string it automatically enters. Is there a way for it to be printed on the same line ?

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

      Where did the string 'name' come from? Did you use the fgets function? You may need to remove the trailing newline if this is the case: ruclips.net/video/0UJX96_ZpVE/видео.html. 🙂

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

      @@PortfolioCourses Thanks for the reply ! Im really thankful on top of all the tutorial you gave us for free! Tysm

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

      No problem, and you’re welcome! :-)

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

    Which C extension are you using in VSCode?

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

    Here before 2 views))

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

      Haha awesome! :-) The first view is me so you’re definitely the first “real viewer”.