I want to write Exponent class that overoads the ^ operator so it can be used to perform exponential notation. For instance if you use the statement
int iResult = 10 ^ 3;, the iResult variable should be assigned a value of 1000. How can I write that?
int iResult = 10 ^ 3;, the iResult variable should be assigned a value of 1000. How can I write that?
Comment