Monday, February 22, 2010

On helping with C++ homework via wow...

Tonight, largely because the good programmers in my guild (and here at work) were all in a raid, I got to help a former guild mate with his C++ homework.

It turned out to be fairly simple
  • "Do/While" syntax was wrong...he was using a"(" and a ")" instead of a "{" and a "}"
  • The compiler gets confused when you define a variable as "num1" and then try using it as "num 1"
  • Couple misc logic issues.
That said, debugging code without a compiler in a text chat window limited to 255 characters with no formatting gives it a little extra spice that makes it all worth while.

Aside: I think this post could have been better accomplished via Twitter.
ToDo: Get Twitter account.

1 comment: