Created
August 20, 2018 14:35
-
-
Save fxnoob/5982b226dc89f9b24c1c907793a5cc2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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