problem1

problem1 - struct node* right; } Tree; typedef struct...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
/* * File: problem1.h * Author: Johny Nguyen * Purpose: Used as a header file for problem1.c */ #ifndef _rpn_h_ #define _rpn_h_ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdbool.h> #define MAX_LINE 128 typedef struct node{ char *str; struct node* left;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: struct node* right; } Tree; typedef struct stack{ Tree * tree; struct stack* next; } Stack; #define LOAD &quot;iload&quot; #define CONS &quot;iconst&quot; #define ADD &quot;iadd&quot; #define SUB &quot;isub&quot; #define MUL &quot;imul&quot; #define DIV &quot;idiv&quot; #define ERROR &quot;Error&quot; #define END &quot;End Of File&quot; #endif...
View Full Document

This note was uploaded on 11/29/2010 for the course CSC 873569 taught by Professor Roberts during the Spring '10 term at ASU.

Ask a homework question - tutors are online