Mediaspace scheduled maintenance: Aug 25, 2026 07:00 - 12:00 AM. During this time, videos will be temporarily unavailable. Check status updates.
This lecture presents a case study on in-place tokenization in C programming. The instructor begins by emphasizing the importance of active participation in the learning process, encouraging viewers to engage with the material by writing code alongside the lecture. The concept of in-place tokenization is introduced, explaining that it involves modifying an input string directly to extract tokens separated by a specified character, such as whitespace. The prototype for the tokenization function is discussed, highlighting the need for a non-const input string to allow modifications. The lecture details the implementation of the tokenization function, which replaces separators with null characters to delineate tokens while maintaining pointers to the beginning of each token. Throughout the lecture, the instructor provides insights into common pitfalls, such as memory management and the implications of using const strings. The session concludes with a discussion on the challenges of in-place tokenization and the necessity of careful memory handling in C programming.
This video is available exclusively on Mediaspace for a restricted audience. Please log in to MediaSpace to access it if you have the necessary permissions.
Watch on Mediaspace