isn it possible to just set the tail->x = head->x by making a tmp before of course... in the end just swaping the values in the nodes
@vitalis328517 сағат бұрын
Great Video, very helpful! Ich kuess' dein Herz.
@persia519518 сағат бұрын
Can I run this program on windows?
@ironmonkey19902 күн бұрын
thank you!
@hmdzed-bb9sf3 күн бұрын
do i need return; after exit(1) ?
@dabunnisher295 күн бұрын
Fantastic videos. Your instruction is very good.
@omkarchand98965 күн бұрын
I'm learnign pthreads now after joinig the company and watching your videos, still I found your videos more useful then others available in the YT. Thanks a lot man!
@jovenesmockusfajardo5 күн бұрын
In the video when you say Tail are you referring to Head and vice versa? At some point you said: before (previous) Tail there is nothing then NULL
@Thomas-d8Thomas___g3q96 күн бұрын
Ironically, brace yourselves - the oh-so-thrilling confirmation of your Sales Incentive payment has apparently been "processed."
@forheuristiclifeksh78366 күн бұрын
1:44
@shrutikakarande54416 күн бұрын
Hi, what about the for loop i iterator? Can that also be jumbled if the i iterates over a bigger number ?
@codesamurai18507 күн бұрын
Thank you sir
@SafwanMashrafiSaraf-ll1wl8 күн бұрын
honestly the way u explain pointers is very fascinating and easy to remember keep it up brother 😁
@ironmonkey19908 күн бұрын
Thank you
@livinglavish17059 күн бұрын
These videos are amazing
@Panda-er4nd9 күн бұрын
Awesome, this JS Quirks series is a must to be reviewed before mentioning JS skill in resume and attending interviews.
@chemist2711 күн бұрын
You are legend sir
@kiseijuu742012 күн бұрын
3:25 peak acting performance right there
@kiseijuu742012 күн бұрын
is it better to fork and creat threads in the fork, or creat a thread and fork in that thread?
@ironmonkey199013 күн бұрын
Thank you!
@Zjk58014 күн бұрын
thanks bud.
@abzrg14 күн бұрын
Welcome back
@Generalusuer14 күн бұрын
what about an interval from [-1,1]
@adityabiradar394715 күн бұрын
nice work
@stinkyseastar356017 күн бұрын
awesome, explained really well!
@oneloveafrica886018 күн бұрын
good to find u
@ruxandrawoinaroski569018 күн бұрын
Foarte bine explicat, mersi :)
@baselarw9919 күн бұрын
Can you please make a diagram explaining the parent-child tree? cause in your second fork, you will have 4 processes, right? and we want only 3. (parent and 2 child)
@ii7mdj_35320 күн бұрын
Realloc ❌ Real lock ✅
@radmehrtalebi681821 күн бұрын
God bless you
@arnau714423 күн бұрын
i'm really enjoying this videos! thx man
@naboulsikhalid776323 күн бұрын
as usual rich and well explained content, thank you
@patrickslomian742323 күн бұрын
Thank you !! While using the strncmp function make sure your passing the right amount of bytes !! :P
@caloc502823 күн бұрын
hey, how can you see the documentation for the function, i have VS code and C/C++ extension ,but i dont have the mehod documentations
@arnau714426 күн бұрын
u should put arguments in wait() func. just leave it in NULL.
@aleksaleks46327 күн бұрын
these are really the best videos on C out there. thank you so much!
@uygar8427 күн бұрын
How come you don't cast the variable "a" to void pointer inside of pthread_create function (line 25 when all the code is ready)? Just like you cast the address of the variable "r" to double void pointer inside of pthread_join function on line 32?
@jahoopyjaheepu49728 күн бұрын
Best explanation of this topic on the entire internet.
@mikmik396528 күн бұрын
Thank you ,this is exactly what i need for my OS homework and teachers wont tell it at class
@finndemoncat937928 күн бұрын
The example on the video was the exact problem I was facing and how I solved it 🥹 Basically I had a function returning a pointer to another pointer wich already had memory allocated to it. The program would crash at random points because of it. Now I just use strdup on the string and use the void function to modify it. It would be best if the debugger would point out my stupid mistake. I hope it was the issue, I still have to test the program when I am done rewriting it.
@parsasamandi56929 күн бұрын
Thanks
@DunnoWhoIAm546Ай бұрын
Thanks so much man I got these type of error soo much that I thought to switch to C++ because it uses <iostream>. Thank you so much, I will subscribe you!!!!😄😁😇
@michael22nguyenАй бұрын
Thank you for the video I definitely learn a lot from you. I think one important thing to mention too is that declaring the malloced int* also needs to happen inside the loop or else you you would pass the same pointer and free would free the value sometimes before other threads can use it. I had the same setup but assigned into an int of a struct and had double freeing issues because of this. Still trying how to figure out a way around this though while passing struct if there are any ideas I am all ears. :)
@adamthaok5025Ай бұрын
saved me from 2 hours of useless lecture
@capc0307Ай бұрын
Thank you so much. You explained it really well, but I have a question: What if I only want to save the age and gender in variables, but not the name? I tried to use "{ \t\"name\": \"[^\"]+\", \t\"age\": %d, \t\"gender\": \"%c\" }" as PERSON_FORMAT_IN and fscanf_s(file, PERSON_FORMAT_IN, &p2.age, &p2.gender) function, but it doesn't work. I think it has something to do with the "+" symbol. I'm not really sure of that. How would I solve it? Thanks in advance.
@callmesep9530Ай бұрын
Why does my teacher inquire us to use pointers and structs for this. This was ideal thank you