typedef.txt (127B)
1 typedef struct { 2 float x; 3 float y; 4 } point; 5 6 point p; 7 p.x = 0.1; 8 p.y = 10.0; 9 10 float length = sqrt(p.x * p.x + p.y * p.y); 11
mumbleA Lisp written in C, following the *Build Your Own Lisp* book | |
| Log | Files | Refs | README |