get_next_line explained : develop a function that reads a file line by line

get_next_line explained : develop a function that reads a file line by line

Oceano

1 год назад

22,034 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@manuelmigoya2109
@manuelmigoya2109 - 19.07.2023 17:26

Did this pass as is? I have a similar approach but I get errors with Francinette. Fsoares test read_error.txt claims there's memory leaks. Which I can see there are with valgrind. The variable returned by get_next_line() is malloc'd but never freed. Did u get similar errors with Francinette. I'm quite sure my code works, but I don't want to submit and get a fail.

Ответить
@1337-rw6xh
@1337-rw6xh - 30.11.2023 04:53

perfect tutorial u did it the hard way for us as beginners using linked list but it's okay the important thing is that i got the full idea of what i need to do, much love 🙏

Ответить
@amireid8496
@amireid8496 - 27.11.2023 01:20

I am a huge fan, and I always follow you.. But I am really sorry to tell you that this video made the task even harder for a beginner. the fact you are using linked lists approach while beginners just got introduced to the linked lists in the bonus part of libft and they havent even properly used it and got handy with it, would definitely make me not suggest this video for a beginner. Sorry, and keep it up. cheers!

Ответить
@MarSonyTM
@MarSonyTM - 17.10.2023 15:25

thank you for this video great help

Ответить
@ceciledt6843
@ceciledt6843 - 29.08.2023 19:34

Hey ! Thanks a lot for your vidéo, it helps a lot to understand more !

For dealloc function, why did you free buf only if clean node is NULL ? And not in any case ? And why do you bring it to dealloc and don't free it directly in polish ?

Ответить
@sodsgrooves
@sodsgrooves - 14.08.2023 18:31

Never seen such a complicated explaination on this topic try to switch not to much and keep your focus on the subject. I have seen this video and compared to other things on the internet this seem like higher math.

Ответить
@vkatasonov
@vkatasonov - 10.08.2023 15:43

Thx for the video=) Despite on I've made a project, there was a bunch of interesting information.

One question: which IDE do you use. And could you pls share some basic settings of your .vimrc file? I see that you have autocomplete option in it. And, honestly, I don't know how to switch it on.

Many thx in advance.

Ответить
@thebestteacher7466
@thebestteacher7466 - 10.07.2023 10:10

is there reasaon why we need to define BUFFER_SIZE 10 instead of just writing 10? or is it just convenient?

Ответить
@__CJ.__
@__CJ.__ - 17.06.2023 22:06

Cool

Ответить