[Day 22] - Typedef (An alias for a new type)
Автор: Mike Shah
Загружено: 31 июл. 2023 г.
Просмотров: 1 165 просмотров
►C Programming playlist: • C Programming Series
►Find full courses on: https://courses.mshah.io/
►Join as member to get perks: / @mikeshah
►Lesson Description: In this lesson we revisit the 'typedef' keyword that has showed up a few times in our series. typedef is a way for us to create an alias for new types, so we'll see how that can simplify and potentially make our code easier to use (and is a better tool than say define)
00:00 Introduction
00:50 typedef introduction
01:52 Example with define and preprocessor
04:00 typedef usage for a new alias of data type
05:40 dangerous example with define for substituting a type
08:20 Using typedef for pointer types
9:59 typedef with structs
13:24 typedef with function pointers
16:04 typedef with struct revisited
17:30 Review of lesson
18:45 Conclusion
►Please like and subscribe to help the channel!
►YouTube Channel: / mikeshah
►Join our free community: https://courses.mshah.io/communities/...
![[Day 22] - Typedef (An alias for a new type)](https://ricktube.ru/thumbnail/Pw3A2P6O71s/hq720.jpg)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: