Monday, February 20, 2012

Bummer!!! I thought I had it right!

Dang, I think I got something mixed up when I wrote all my codes. Now I got to check all of them.

Note to self: when g++ compiles stuff, at least in what just happened, when there's an int divided by a double variable it results in an int variable. At least that's what happens here in Windows. It screwed up my Moore's Law source code. Bummer. Got check the g++ of Linux though. I really don't know if the compilers work exactly the same, but it seems pretty well like it.


Update: Yeah, it's the same stuff in Linux. I can still compile happily in Windows. I'm so glad that hasn't been taken away from me. 

No comments:

Post a Comment