Skip to content

Instantly share code, notes, and snippets.

@fxnoob
Created August 20, 2018 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fxnoob/5982b226dc89f9b24c1c907793a5cc2c to your computer and use it in GitHub Desktop.
Save fxnoob/5982b226dc89f9b24c1c907793a5cc2c to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
#include "stack.h"
#include "utils.h"
#include "expr.h"
int main(int argc, char const *argv[]) {
char *str;
str = (char *)argv[1];
size_t str_len = strlen(str);
printf("\n%s = %d\n",str,expr(str , str_len));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment