C Programming - Reading a file line by line using fgets and getline

preview_player
Показать описание
C Programing - read a file line by line using fgets and the POSIX version of getline.

Useful links:
Рекомендации по теме
Комментарии
Автор

Thank you. There is more useful information than is given in my university

kulich
Автор

Thank you. Great explanation of both functions. Helped me with my assignment. :)

makovapi
Автор

Great video I love the way you wrote and explain the code at the same time.
Very detailed explanation, if you find some time, can you make an other video about pointers and double pointers and how to use them efficiently?
I know there are videos about this but I think you would explain it in a better way.
I have a question related to the video ... why do some people initialize the double pointer and the size_t variable with other values than NULL and zero like you did? Is it a bit more efficient or is there an other reason for this?
Anyways thank you for this great video and keep up the good work!

SuperNova-gctm
Автор

Love your videos, how do you set up VsCode to read, link libraries run & Compile your code?

mcdove
Автор

Why getline() wouldn't work on Windows? What does that means?

danialwahid
Автор

Hello sir, could you please make a video to open a dictionary file, then read a sentense of file 2 and write the translation in File 3?! Thanks

fahimehlookzadeh