System Programming with C - Opening and Reading Files

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ส.ค. 2024
  • This video will teach you how to use the open and read system calls to open a file and print the contents of the file to the screen.
    Manual files for reference
    Open: man7.org/linux...
    Read: man7.org/linux...
    This video is part of my free Basics of C Programming course, available at: olivestem.net/...
    Check out all our free courses at: olivestem.net/
    #linux #cprogramming

ความคิดเห็น • 8

  • @sanstac
    @sanstac 11 หลายเดือนก่อน

    Thank you so much for this video!! I'm a student in university, and I was looking FOREVER for a video that shows how to use a system call to read from a file and actually print its contents. I learned so much, and I love how you really explain what each line of code/function is doing because it is SO helpful for anyone learning.
    Do you think you could make a video on how to count the number of characters in a file, using the system read() functions?
    Again thank you, and hope you keep making these great videos! Deserve many more views.
    You got yourself a new subscriber here!

  • @1zero1one
    @1zero1one 6 หลายเดือนก่อน

    Incredibly helpful. Thank you

  • @dsalgos
    @dsalgos 6 หลายเดือนก่อน

    pretty good explanation.

  • @anlberkearslantas3813
    @anlberkearslantas3813 8 หลายเดือนก่อน

    great vid

  • @mdmostainbillah5399
    @mdmostainbillah5399 ปีที่แล้ว

    Can you recommend any book to learn x86, I have watched your videos now I need to learn more so please give me a valuable resource source.

    • @olivestemlearning
      @olivestemlearning  ปีที่แล้ว +1

      I think Assembly Language for x86 processors by Kip Irvine is a great book to start with. It's mostly Windows x86 syntax but it's easy enough to translate to NASM/Linux if needed
      Modern x86 Assembly Language Programming by Daniel Kusswurm is a good choice for a more in depth book, it goes into SSE, AVX, and 64-bit so it is quite extensive.

    • @mdmostainbillah5399
      @mdmostainbillah5399 ปีที่แล้ว

      @@olivestemlearning Thank you very much, I am really grateful to you, your video helped me to clear my confusion and now your precious guidelines also giving me new hope to deep dive into the topics. 🙏

    • @mdmostainbillah5399
      @mdmostainbillah5399 ปีที่แล้ว

      @@olivestemlearning Thank you very much, I am really grateful to you, your video helped me to clear my confusion and now your precious guidelines also giving me new hope to deep dive into the topics. 🙏