How to use realloc in C
11:56
Жыл бұрын
Convert string to Lowercase in C
9:49
Don't make the same mistake I did!
10:02
Format and parse datetime in C
17:41
What does fork() actually return?
7:13
Sharing functions between files in C
9:00
Local vs global variables in C
8:32
3 жыл бұрын
How to use scanf with fgets
8:59
3 жыл бұрын
Progress bars with pure HTML
3:35
3 жыл бұрын
Less Known Input Types in HTML
8:03
3 жыл бұрын
Form Input Validation in HTML
11:53
3 жыл бұрын
The difference between DIV and SPAN
7:13
Why are function pointers useful?
6:43
Пікірлер
@blackbeangamer416
@blackbeangamer416 16 сағат бұрын
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
@vitalis3285
@vitalis3285 17 сағат бұрын
Great Video, very helpful! Ich kuess' dein Herz.
@persia5195
@persia5195 18 сағат бұрын
Can I run this program on windows?
@ironmonkey1990
@ironmonkey1990 2 күн бұрын
thank you!
@hmdzed-bb9sf
@hmdzed-bb9sf 3 күн бұрын
do i need return; after exit(1) ?
@dabunnisher29
@dabunnisher29 5 күн бұрын
Fantastic videos. Your instruction is very good.
@omkarchand9896
@omkarchand9896 5 күн бұрын
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!
@jovenesmockusfajardo
@jovenesmockusfajardo 5 күн бұрын
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___g3q9
@Thomas-d8Thomas___g3q9 6 күн бұрын
Ironically, brace yourselves - the oh-so-thrilling confirmation of your Sales Incentive payment has apparently been "processed."
@forheuristiclifeksh7836
@forheuristiclifeksh7836 6 күн бұрын
1:44
@shrutikakarande5441
@shrutikakarande5441 6 күн бұрын
Hi, what about the for loop i iterator? Can that also be jumbled if the i iterates over a bigger number ?
@codesamurai1850
@codesamurai1850 7 күн бұрын
Thank you sir
@SafwanMashrafiSaraf-ll1wl
@SafwanMashrafiSaraf-ll1wl 8 күн бұрын
honestly the way u explain pointers is very fascinating and easy to remember keep it up brother 😁
@ironmonkey1990
@ironmonkey1990 8 күн бұрын
Thank you
@livinglavish1705
@livinglavish1705 9 күн бұрын
These videos are amazing
@Panda-er4nd
@Panda-er4nd 9 күн бұрын
Awesome, this JS Quirks series is a must to be reviewed before mentioning JS skill in resume and attending interviews.
@chemist27
@chemist27 11 күн бұрын
You are legend sir
@kiseijuu7420
@kiseijuu7420 12 күн бұрын
3:25 peak acting performance right there
@kiseijuu7420
@kiseijuu7420 12 күн бұрын
is it better to fork and creat threads in the fork, or creat a thread and fork in that thread?
@ironmonkey1990
@ironmonkey1990 13 күн бұрын
Thank you!
@Zjk580
@Zjk580 14 күн бұрын
thanks bud.
@abzrg
@abzrg 14 күн бұрын
Welcome back
@Generalusuer
@Generalusuer 14 күн бұрын
what about an interval from [-1,1]
@adityabiradar3947
@adityabiradar3947 15 күн бұрын
nice work
@stinkyseastar3560
@stinkyseastar3560 17 күн бұрын
awesome, explained really well!
@oneloveafrica8860
@oneloveafrica8860 18 күн бұрын
good to find u
@ruxandrawoinaroski5690
@ruxandrawoinaroski5690 18 күн бұрын
Foarte bine explicat, mersi :)
@baselarw99
@baselarw99 19 күн бұрын
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_353
@ii7mdj_353 20 күн бұрын
Realloc ❌ Real lock ✅
@radmehrtalebi6818
@radmehrtalebi6818 21 күн бұрын
God bless you
@arnau7144
@arnau7144 23 күн бұрын
i'm really enjoying this videos! thx man
@naboulsikhalid7763
@naboulsikhalid7763 23 күн бұрын
as usual rich and well explained content, thank you
@patrickslomian7423
@patrickslomian7423 23 күн бұрын
Thank you !! While using the strncmp function make sure your passing the right amount of bytes !! :P
@caloc5028
@caloc5028 23 күн бұрын
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
@arnau7144
@arnau7144 26 күн бұрын
u should put arguments in wait() func. just leave it in NULL.
@aleksaleks463
@aleksaleks463 27 күн бұрын
these are really the best videos on C out there. thank you so much!
@uygar84
@uygar84 27 күн бұрын
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?
@jahoopyjaheepu497
@jahoopyjaheepu497 28 күн бұрын
Best explanation of this topic on the entire internet.
@mikmik3965
@mikmik3965 28 күн бұрын
Thank you ,this is exactly what i need for my OS homework and teachers wont tell it at class
@finndemoncat9379
@finndemoncat9379 28 күн бұрын
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.
@parsasamandi569
@parsasamandi569 29 күн бұрын
Thanks
@DunnoWhoIAm546
@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
@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
@adamthaok5025 Ай бұрын
saved me from 2 hours of useless lecture
@capc0307
@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
@callmesep9530 Ай бұрын
Why does my teacher inquire us to use pointers and structs for this. This was ideal thank you
@VietPhan-ex3ps
@VietPhan-ex3ps Ай бұрын
thank you so much
@Andrew-tt2cx
@Andrew-tt2cx Ай бұрын
Great video, thanks I subbed after watching this.
@akshaja101
@akshaja101 Ай бұрын
Wonderfully explained. Thank you sir.
@alauda_projects
@alauda_projects Ай бұрын
Bravo, frate. Super tutorial. Felicitări !