Go to the source code of this file.
Classes | |
struct | CoordStruct |
Typedefs | |
typedef CoordStruct | Coord |
Functions | |
Coord | add (Coord c1, Coord c2) |
An example of resolving typedefs.
Definition in file restypedef.cpp.
typedef CoordStruct Coord |
Creates a type name for CoordStruct
Definition at line 17 of file restypedef.cpp.
This function returns the addition of c1 and c2, i.e: (c1.x+c2.x,c1.y+c2.y)
Definition at line 23 of file restypedef.cpp.