Starting to work through ch23 ex22

cat-town
Dan Buch 13 years ago
parent c2615babf7
commit 877763c15c

@ -0,0 +1,16 @@
#ifndef _ex22_h
#define _ex22_h
// makes THE_SIZE in ex22.c available to other .c files
extern int THE_SIZE;
// gets and sets an internal static variable in ex22.c
int get_age();
void set_age(int age);
// updates a static variable that's inside update_ratio
double update_ratio(double ratio);
void print_size();
#endif
Loading…
Cancel
Save