hello can you explain / implement the heap in c? I found your stack video very helpful in understanding the concept and would like to view the heap in depth as well
Hello Sir You are very helpful To me may i know sir where are you now ? Please Start regular lecture I love and Studied from your video hope we can see you again And All the best to you whatever you doing you will got sucess God Bless!!
this helped me alot fix some logics behind recursive exam quests :D in all but one of them the print of the recursive function did just "print" the finished value that was called in printf %d , function ... but this one bugger returned a number-- and i didnt get it that the system returns 2 values the untouched value and the decremented one.. and it shows the untouched one return to the print .. waited for the "for" loop to end and then before it opened the next recursion it then accepted its decremented faith xD .... the hardest part to C is just that these small littl logics that our professor understands at 3am drunk.... isnt integrated in all fine details in us when he explains the core function of the project he uses :D
Good morning Sir, could you do a video about pointers of array of struct? Like this: Struct struct_1 *p[ ] ; I mean, how can I use them in other functions (Not in Main)?
My program is working now! If you guy need help, use malloc for each index of the array and use *p[ ] in the prototype. Use the arrow operator ( p[i]->something ) REMEMBER to free each index
There is this video: code-vault.net/course/ar67avx6hk:1610029043923/lesson/he9jn5x8b1:1603733522083 But I will also keep in mind and make a video specific to your problem
@@CodeVault yes. for example thre is a trick like this: typedef struct Message { unsigned id; char text[0]; }M; M* m1 = malloc *(sizeof(M) + sizeof(char)*n)* ; _//now m1->text has size n instead of 0_ works only when empty array is last member of a struct, but what is this empty array?
Apparently it's called "flexible array member". Here's more details: stackoverflow.com/questions/36577094/array-of-size-0-at-the-end-of-struct I might make a video on this as I never used such a feature
@@DataStructures Fastest way is to just use the comments. I try to read and/or reply to every single comment. You could also direct message me on discord: discord.code-vault.net
That's an interesting question. From what I read ++a and a++ in C, for integers, without using their values are exactly the same (the compiler does some optimizations). If using the value, you should expect that ++a is better since a++ has to store a temporary value and then increment a. Here are some links: stackoverflow.com/questions/24901/is-there-a-performance-difference-between-i-and-i-in-c stackoverflow.com/questions/24886/is-there-a-performance-difference-between-i-and-i-in-c/24887#24887 Now, I haven't fully researched this and certainly not on multiple architecture and compilers. If anyone else knows a better answer please feel free to post it here and I'll pin it!
Hi can you explain floating point representation in IEEE 754 FORMAT IN C LANGUAGE I am waiting for more videos like I have also registered in your site
Greetings from Brazil!
Your videos are helping many software engineering students from my school.
Thanks for the content and great explanations! :D
Saw that you've been inactive, but happy to see your still actively answering questions in the comments. Hope your doing well!
I'm doing alright. I'm planning on uploading new content soon
I am so happy that I found You. You are the prototype perfect teacher in my world
you always have excellent videos
thanks I learned a lot from you
Greetings from Algeria
You're back!!
Thank you as always!
M-ai ajutat mult pentru Politehnica la lectiile de fisiere si serializare in struct. Multumesc mult si spor pe viitor!
hello sir , could you make a video about the Dining Philosophers problem using mutexes in c. (threads)
It would be very nice, if you make a video or a series of videos explaining everything about git, and github and so on, please
It's definitely on my todo list! Thanks for the recommendation
Thank you so much for these fantastic explanations! You are a Code Saint! 👼
Hey, I hope you are ok. Have not heard from you in a while
I'm alright, just busy overall. Thanks for your concern
Can you please do a video on va_list, va_start and about variadic functions
Yes, I'll look into it. Thanks for the recommendation!
hello can you explain / implement the heap in c? I found your stack video very helpful in understanding the concept and would like to view the heap in depth as well
I will look into it
what keyboard do you use? I love the noise lol
DasKeyboard model S (brown switches). The keyboard has been with me for the last 9 years
can u help me with a shcool project urgently , i need to make a shell that executes 2 commands with && , between them . please help
You can ask on discord about this: discord.code-vault.net
Hello Sir You are very helpful To me may i know sir where are you now ? Please Start regular lecture I love and Studied from your video hope we can see you again
And All the best to you whatever you doing you will got sucess God Bless!!
Will do. Thanks for the support
This channel made me realize I know nothing of C lol
Expecting Socket programming playlist in C.
Hi there, can you do some videos about shared memory in linux? Thanks for your videos you are helping me so much with the OS course
Yes, I will look into it
this helped me alot fix some logics behind recursive exam quests :D in all but one of them the print of the recursive function did just "print" the finished value that was called in printf %d , function ... but this one bugger returned a number-- and i didnt get it that the system returns 2 values the untouched value and the decremented one.. and it shows the untouched one return to the print .. waited for the "for" loop to end and then before it opened the next recursion it then accepted its decremented faith xD .... the hardest part to C is just that these small littl logics that our professor understands at 3am drunk.... isnt integrated in all fine details in us when he explains the core function of the project he uses :D
Good morning Sir, could you do a video about pointers of array of struct?
Like this:
Struct struct_1 *p[ ] ;
I mean, how can I use them in other functions (Not in Main)?
My program is working now!
If you guy need help, use malloc for each index of the array and use *p[ ] in the prototype.
Use the arrow operator ( p[i]->something )
REMEMBER to free each index
Anyway, I think is good idea doing a video about array of pointers.
This can help everyone
There is this video: code-vault.net/course/ar67avx6hk:1610029043923/lesson/he9jn5x8b1:1603733522083
But I will also keep in mind and make a video specific to your problem
@@CodeVault thank you!
I will see it, have a nice day
Can you please explain why do you use GCC why not CLANG?
You can use whichever compiler you want. The only reason I use GCC is because I was familiar with it on Linux, that's about it
Thanks for this nice tutorial!
Hi, is there video of yours where you mention about arrays size of 0 ???
Arrays that have size = 0 you mean?
@@CodeVault yes. for example thre is a trick like this:
typedef struct Message
{
unsigned id;
char text[0];
}M;
M* m1 = malloc
*(sizeof(M) + sizeof(char)*n)* ; _//now m1->text has size n instead of 0_
works only when empty array is last member of a struct, but what is this empty array?
Apparently it's called "flexible array member". Here's more details: stackoverflow.com/questions/36577094/array-of-size-0-at-the-end-of-struct
I might make a video on this as I never used such a feature
@@CodeVault thanks :D
I'm looking forward it
hello can you help find the bug in my program if i send it to you? I have been really stressed and I don't know what is wrong
Sure, I can help
I figured it out! Now I’m on a new assignment for djiskters algorithm
@@CodeVault I wonder how I could acquire such help from you if I ever actually needed it for something
@@DataStructures Fastest way is to just use the comments. I try to read and/or reply to every single comment. You could also direct message me on discord: discord.code-vault.net
What happen when we compare two variable from different types in C (in x86 arch) ?
You usually just get a compilation error
amazing explanation!
You're the best!
Thank you so much
is ++a actually faster than a++ for base types (not for iterators)?
Yes! Not much, but yes
That's an interesting question. From what I read ++a and a++ in C, for integers, without using their values are exactly the same (the compiler does some optimizations). If using the value, you should expect that ++a is better since a++ has to store a temporary value and then increment a. Here are some links:
stackoverflow.com/questions/24901/is-there-a-performance-difference-between-i-and-i-in-c
stackoverflow.com/questions/24886/is-there-a-performance-difference-between-i-and-i-in-c/24887#24887
Now, I haven't fully researched this and certainly not on multiple architecture and compilers. If anyone else knows a better answer please feel free to post it here and I'll pin it!
@@CodeVault thanks a lot
Hi could you pls do videos on asynchronous io like epoll pls
I'll look into it
You are legend sir
Hello your C videos are amazing ✨✨💖thank you! Can you make tutorials on app development for beginners?
iOS and Android? Probably I will start with some web development as that's widely used in app development these days. And go from there
@@CodeVault Android please
thank you:)
Hi can you explain floating point representation in IEEE 754 FORMAT IN C LANGUAGE I am waiting for more videos like I have also registered in your site
Yes! It's an interesting topic and I have it on my todo list for a while. I'll see what I can do.
Thanks
Excellent
very good
whatever anything I do or did
nicenecineceeeee