Subversion Repositories wimsdev

Rev

Rev 2143 | Rev 5505 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2143 Rev 3812
Line 16... Line 16...
16
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
 */
17
 */
18
 
18
 
19
#include <stdlib.h>
19
#include <stdlib.h>
20
#include <stdio.h>
20
#include <stdio.h>
-
 
21
#include <string.h>
21
 
22
 
22
typedef enum {ADD, MULT, SUB, DIV, EMPTY} operation;
23
typedef enum {ADD, MULT, SUB, DIV, EMPTY} operation;
23
 
24
 
24
struct result {
25
struct result {
25
        unsigned int val; /* value */
26
        unsigned int val; /* value */