#A basic calculator I made using pointers

4 messages · Page 1 of 1 (latest)

slate obsidian
#

div by zero = crash

thick linden
#

For a simple demo this is fine. Don't see anything outright wrong, except the compete lack of input validation and error handling

wild remnant
#

x and y are fine variable names here but otherwise i agree

hazy silo
#

yeah add(x, y) is no less descriptive than add(num1, num2)