C structures and typedef

preview_player
Показать описание
The typedef command can be used to create an alias.
ex. typedef int INTEGER; //create an alias
INTEGER x = 8; //now this works just like: int x=8;

typedef is often used in combination with defining a structure. This example shows a structure date and alters it to use typedef and allow Date to be used.
Рекомендации по теме
Комментарии
Автор

Good tutorial, it's very surprising it didnt have many views.

Autotrope