Expand|Select|Wrap|Line Numbers
- void ConvertToPostFix(char *exp)
- {
- int i;
- stack *s;
- StackEntry *item;
- s = CreatStack(&s);
- for(i = 0; i != '\n'; i++)
- {
- if(isalnum(exp[i]))
- printf("%c", exp[i]);
- else if(StackEmpty(s))
- Push(exp[i], s);
- else
- {
- while(check(exp[i], s->entry[s->top]))
- Pop(item, s);
- if(check(exp[i], s->entry[s->top]))
- Push(exp[i], s);
- }
- }
- }
[size=1]main.obj : error LNK2019: unresolved external symbol _check referenced in function _ConvertToPostFix
and:
[size=1]fatal error LNK1120: 1 unresolved externals
in addition to some WARNINGS that i realy danot know how to avoid them...
WARNINGS:
1: warning C4047: 'function' : 'int *' differs in levels of indirection from 'int **__w64 ' main.c 18
2: warning C4024: 'DisplayMenu' : different types for formal and actual parameter 1 c:\main.c 18
3: warning C4047: 'function' : 'int *' differs in levels of indirection from 'int **__w64 ' main.c 19
4: warning C4024: 'DoCommand' : different types for formal and actual parameter 1 cmain.c 19
5: warning C4047: 'function' : 'stack *' differs in levels of indirection from 'stack **__w64 ' main.c 58
6: main.c(58) : warning C4024: 'CreatStack' : different types for formal and actual parameter 1
7: main.c(68) : warning C4700: uninitialized local variable 'item' used