I don't know what's going wrong with this. Here's the code that I think is messing it up: the main evaluation process, of course.
postfix: 8 4 + = 8 + 4
int evaluatePostfixExpression(char...
Type: Posts; User: Axolotl
I don't know what's going wrong with this. Here's the code that I think is messing it up: the main evaluation process, of course.
postfix: 8 4 + = 8 + 4
int evaluatePostfixExpression(char...
Ugh...man...I tried i=5; i<-1 and <=0 but that didnt seem to work. Maybe i'm just tired. i != 0 definately helps though so many thanks.
Ok..this is just 2 for loops and I cant figure out why its not even making it into the 2nd loop. I goes from 5 to 0 at --, right? No semicolons in the wrong spot...what the heck?!
for(j=0;...
I have that page bookmarked from before but I'm still at a stage where I dont understand alot of what those manual pages are really saying. Thanks though...I'm getting there.
Thanks.
I've been reading characters from text files but I have been using a loop that uses
while(!feof(filename))
to read into whatever I want it to read into. However, I know this is not the proper...
Thanks , will play with these. I'll have more newb questions soon. This stuff is finally starting to be fun. :D
Your 2nd program finds all words with man in it, like manual, etc. I guess that's what my problem with fgets() is. I can read all day what it does ( http://www.rt.com/man/fgets.3.html ) but I dont...
This program reads words from a dictionary text file and writes all of the words that end in 'man' to another file. I know this is probably a very strange way to do this but it's what I have after...