I'm writing a program for a postfix notation calculator and I take in filenames on the commandline and then process them from there. However I can only ever process the first command. Can someone please help me out. the push, pop, top, implementations are standard for a stack. the code is here: http://www.dexdog.com/postcalc.txt , I appreciate any help you guys can give me. If you need more info let me know. Thanks again.