From 577ed4095383ef5284225d45709e6b5f0598a064 Mon Sep 17 00:00:00 2001 From: behdad Date: Mon, 3 May 2004 05:17:48 +0000 Subject: Initial revision --- example.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 example.h (limited to 'example.h') diff --git a/example.h b/example.h new file mode 100644 index 0000000..61ac8d5 --- /dev/null +++ b/example.h @@ -0,0 +1,18 @@ +enum Place +{ + HOME, /* Home, Sweet Home */ + WORK, /* where I spend lots of time */ + MOVIES, /* Saturday nights mainly */ + CITY, /* New York, New York */ + COUNTRY /* Bob's Country Bunker */ +}; + +/* + * do some useful work for a change. + * This function will actually get some productive + * work done, if you are really lucky. + * returns the number of milliseconds in a second. + */ +int dowork(int count, /* how much work to do */ + enum Place where, /* where to do the work */ + long fiveoclock /* when to knock off */); -- cgit v1.2.1