|
[04 Oct 2003|09:56pm] |
I'm writing a program which involves pushing single characters onto stacks and queues. Everything is working for me except in my function in_to_post...everytime i try to do a string compare i get this error...
passing `char' to argument 1 of `strcmp(const char *, const char *)' lacks a cast
I've been messing around with my variables for the last hour trying to find a way to fix this with no success. Any ideas as to what i can do to get the correct variable types here.
Source code can be found here. Input file here.
Please note that i am using the Dev C compiler which apparantly is not G something compliant and i guess it doesnt show some errors so if you compile it and get other errors, i havent corrected them because i dont get them.
|
|