Defining New Types with typedef
In C++ it is possible to define your own variable types
Syntax: typedef known_type_definition new_type_name;
For example:
typedef int* IntPtr;
IntPtr p1, p2, p3, p4;
Previous slide
Next slide
Back to first slide
View graphic version