Example #1
0
        public void getOperatorForCal()
        {
            cal[0] = new calAdd();
            cal[1] = new calMinus();
            cal[2] = new calMultiply();
            cal[3] = new calDivide();

            /*calStore.Add(new calAdd());
             * calStore.Add(new calMinus());
             * calStore.Add(new calMultiply());
             * calStore.Add(new calDivide());*/
        }
Example #2
0
        public void getOperatorForCal()
        {
            cal[0] = new calAdd();
            cal[1] = new calMinus();
            cal[2] = new calMultiply();
            cal[3] = new calDivide();
            /*calStore.Add(new calAdd());
            calStore.Add(new calMinus());
            calStore.Add(new calMultiply());
            calStore.Add(new calDivide());*/

        }