Комментарии:
The Calloc specification says it takes two size_t, one of which is satisfied when you pass sizeof(...) to it but the other element you're passing is of type int from the graph->numnodes. Does this not matter? I know size_t is unsigned so I feel some issues might arise when you give a signed datatype from your graph struct to a function that expects an unsigned.
ОтветитьWhat is the code contained in the makefile?
ОтветитьI love all your videos, in particular those about data structures! They really help. Even the embedded systems videos and those about operating systems features are great. This channel is without any doubt the best channel about C programming out there.
ОтветитьHow did you output the arrow symbol when printing the graph...isit a kb shortcut in VSCode?
ОтветитьThank you so much for going over the dot format! I went through DSA 1 and DSA 2 using C without having a way to visualize graphs. It was absolute hell. I'm glad there is a tool like this we can use in C!
ОтветитьHi Jacob, big fan—many thanks for all the videos and knowledge.
One suggestion/feedback—minimizing the terminal and collapsing the File explorer when they're not in use would increase screen space significantly.
I know we use the terminal a lot, but there are keybindings to toggle UI elements, so we could probably toggle them when needed?
I'm from Algeria and i like your channel
ОтветитьHey can you make a videos of a project on (both detection and use as mass Storage) USB devices on freeRTOS ?
Ответить🔥🔥🔥
ОтветитьWhen you say you have a vid check this out can u add video cards
ОтветитьBro can we add the weight of edges
ОтветитьYour video has been so helpful thank you! I was just wondering how you would get it to turn information from a textfile that contains letters and numbers into a graph? Thank you
ОтветитьI don't think habitually checking for NULL from malloc is a good idea. Ensuring your program is not in an undefined state after an allocation failure can be pretty difficult. Often times people will check for NULL for very large & infrequent allocations since those often can be recovered from without the risk of undefined state. For everything else, wrap malloc in a function that aborts on null.
ОтветитьThe best channel for c++ lo lovers
ОтветитьHey, I've seen some of your videos and your plosive sounds (s, t, ch etc.) sometimes sound really harsh. Do you use a pop filter?
ОтветитьHi Jacob, lots of love for you!🤗
Please make a tutorial for the Adjacency List version too!(for graphs) and please cover some important graph based algorithms also😊
That PDF hack is very interesting..
Ответитьboost libraries FTW do all this to a much more sophisticated level. An art in programming is not to reinvent the wheel and create all the bugs that were create before. okay, kinda facetious, but true ;) This is why we love the rich libraries in C++. These kind of constructs are a mine field in plain C with mallocs and frees all over the place. Been there, done that. Never again. I've enjoyed the series to remind me why I moved on from C to C++, let it be a reminder to anyone else. I see so much/too much reinvented code in C libraries all the time.
People shouldn't have to write trees, linked lists 10 times over. Do it once as a learning exercise in C and than never again; This is why I have an aversion to C these days, because of it's "at first apparent simplicity",in the long run it'll bite you, because everything takes ages, so I realised the learning curve for C++ was well worth it. The difference is huge. It took many years to be convinced though.
Awesome explanation ✨✨.
ОтветитьWhat is the conventional use of asserts? You mentioned that they are useful ways to catch bugs early, which makes sense, but I am wondering if they are removed or left in a release version of software? Thank you for an interesting video. Love your not equal to symbol.
ОтветитьFYI - no need to check if ptr != NULL before calling free, as free() deals with NULL ptr itself.
From the manpage for free...
"If ptr is NULL, no operation is performed".
Hello, i love watching your videos, i watched all of them :), and im wondering what do u think about rust? Did u hear about it? Also what languages do u use? Is it only c?
ОтветитьHello, I just wanted to say thank you, your videos truly helped me improve the way I code and understand some hard C topics, you're awesome 💪
Ответитьwhat is the font, being used here.
ОтветитьI was wondering if you had any plans to make a video for statemachines in c.
ОтветитьYou Are The Most Genius Teacher I Ever Seen. Thank You For Video.
ОтветитьWhere can i find that dot tool?
Ответитьhey, why don't u use clion, considering u know cmake?
Ответить2nd comment , I hope u make the other implementation like adjecency list
Ответитьfirst cmt
Ответить