calls the push method on a stack object. It does not. It declares a function. You need to correct these three lines of code to actually call the method on s1. Once you do that, you will get compile errors because your Stack::push method takes an integer as parameter and you are passing a frac. You need to change Stack to work with frac's not ints.
After you've done that, consider what would happen if the user called push() on a stack that already had MAX elements in it. Likewise if the user called pop() with 0 elements in it. You might want to consider handling those cases in some way.