Reading and Writing Files in C, two ways (fopen vs. open)
Patreon ➤ https://www.patreon.com/jacobsorber
Courses ➤ https://jacobsorber.thinkific.com
Website ➤ https://www.jacobsorber.com
This video explains two common ways to read and write files in C.
Strace/Ltrace video (might help clarify the system call/library call issue described in the video).
https://youtu.be/2AmP7Pse4U0
[Affiliate Link]
I use Kite, a free AI coding assistant, that provides better code completions.
https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=jacobsorber&utm_content=description-only
Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
More about me and what I do:
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/ Note that any Amazon links in my video descriptions are generated by Amazon. If you click one of them and then buy something it helps support this channel. Thanks.
[Affiliate Link]
I use Kite, a free AI coding assistant, that provides better code completions.
https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=jacobsorber&utm_content=description-only
Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/
To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]
Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Want me to review your code?
Email the code to js.reviews.code@gmail.com. Code should be simple and in one of the following languages: C, C++, python, java, ruby. You must be the author of the code and have rights to post it. Please include the following statement in your email: "I attest that this is my code, and I hereby give Jacob Sorber the right to use, review, post, comment on, and modify this code on his videos."
You can also find more info about code reviews here.
https://www.youtube.com/watch?v=k2K2HVg4Arc
Видео Reading and Writing Files in C, two ways (fopen vs. open) канала Jacob Sorber
Courses ➤ https://jacobsorber.thinkific.com
Website ➤ https://www.jacobsorber.com
This video explains two common ways to read and write files in C.
Strace/Ltrace video (might help clarify the system call/library call issue described in the video).
https://youtu.be/2AmP7Pse4U0
[Affiliate Link]
I use Kite, a free AI coding assistant, that provides better code completions.
https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=jacobsorber&utm_content=description-only
Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
More about me and what I do:
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/ Note that any Amazon links in my video descriptions are generated by Amazon. If you click one of them and then buy something it helps support this channel. Thanks.
[Affiliate Link]
I use Kite, a free AI coding assistant, that provides better code completions.
https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=jacobsorber&utm_content=description-only
Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.
About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.
More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/
To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]
Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Want me to review your code?
Email the code to js.reviews.code@gmail.com. Code should be simple and in one of the following languages: C, C++, python, java, ruby. You must be the author of the code and have rights to post it. Please include the following statement in your email: "I attest that this is my code, and I hereby give Jacob Sorber the right to use, review, post, comment on, and modify this code on his videos."
You can also find more info about code reviews here.
https://www.youtube.com/watch?v=k2K2HVg4Arc
Видео Reading and Writing Files in C, two ways (fopen vs. open) канала Jacob Sorber
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How to Map Files into Memory in C (mmap, memory mapped file io)Understanding and implementing a Hash Table (in C)What should I code next? Ideas for expanding your skills.Reading/Writing structs to files (aka Serialization)Writing Files | C | Tutorial 29Spying on Running Programs (strace, ltrace, system calls vs function calls)A Few Embedded Systems Tips for BeginnersHow one thread listens to many sockets with select in C.Setup Tips for Your Next Programming ProjectBit Fields in C. What are they, and how do I use them?Make your Data Type more Abstract with Opaque Types in CWriting to text files in CThree strategies for finishing programming projects 10-times faster.Strings can get you hacked! (buffer overflows, strcpy, and gets)Understanding and implementing a Linked List in C and JavaHow to Check Your Pointers at RuntimeHow to Set up Shared Memory in Your Linux and MacOS Programs. (shmget, shmat, shmdt, shmctl, ftok)How to use the volatile keyword in C?What are Environment Variables, and how do I use them? (get,set)