Hey guys,my previous attempt at making a calculator was a dumb,so I started searching the net for some ideas.
Interestingly,the one that stood out was using a infix-2-postfix notation, or the Shunting Yard Algorithm as its known.Our teacher at school had taught us how to use this algorithm,so that wont be a problem.
What my main issue is that i want to use some functions in my calculator such as Square root,for example.But there is no key for the sign of squareroot in my keyboard,so i thought about using this character => '_/' .
This is just an example,but theres also less-than-equal sign,given by '<=' and greater-than-equal given by '>='.The problem is that should i store this as char datatype or wchar_t datatype,i cant understand.Also, using a string wont do bcoz it could make the size of the program bigger(or am I wrong? ).
Pls give some feedback on the project :) .
Heres the link :-
http://www.4shared.com/file/1Kyeu0sPba/Simple_Calctar__1_.html