NOTE: I'm a C beginner and would appreciate feedback on all the things I'm doing wrong in this video in the comments section :)
In today's video I implement dynamic memory allocation for the conversations in my ChatGPT clone in C project.
GitHub: https://github.com/unconv/chatgpt-c
Support: https://buymeacoffee.com/unconv
Memberships: https://www.buymeacoffee.com/unconv/m...
PART 1: • I watched @TsodingDaily and now I'm a...
PART 2: • Using ChatGPT API in C with cURL and ...
PART 3: • ChatGPT.c Part 3: Word-Wrap and Messa...
PART 4: • ChatGPT in C: Message styling & Multi...
PART 5: [THIS VIDEO]
00:00 Intro
02:36 How arrays are stored in memory (I think)
15:23 Dynamically adding more messages
21:54 Dynamically adding more conversations
29:54 Freeing up allocated memory
37:47 Upgrading the ChatGPT clone to dynamic memory allocation
42:41 Debugging
50:44 Conclusion
Watch video Dynamic Memory Allocation of 3D Array in C (ChatGPT Clone with Raylib) online without registration, duration hours minute second in high quality. This video was added by user Unconventional Coding 20 October 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 305 once and liked it 6 people.