8

Forgot to bring me laptop to college, so had to use the age old Turbo C complier on college PC. So had to do some power calculation.. used the pow() function, forgot to include math.h...
And bamm!!! It compiled and I had no idea why the pow function isn't giving the correct value!!

Lesson learnt: never trust anything!!

Comments
  • 5
    The fuck? It compiled? Haha! Turbo C is a troll.
  • 1
    Idk how this happened (maybe old build cache) but once i removed all includes in a cpp and vs2013 express compiled and even ran my small program with no errors
Add Comment