It still needs a bit of work, but it looks pretty sweet so far. You can’t see all the blemishes though :P. Still not decided if we’re going to be buying a new case or not, but if not, I still want something decent looking! I’ll have to cut some fan holes, and I plan on getting my Citadel paints and doing some finer details, but we’ll see about that.

, , , ,

So I think I may be building a desktop computer in mid-January, depending how our finances look. It’s going to be mid-high range for gaming, with a budget of about $800 (I have a case and an LCD already). It needs to run Vista and Linux, and be compatible with both (I’m thinking Arch). I’ve posted around a bit, and I’ve put together a build from Newegg (who now ships to Canada, which I didn’t know – sweet).

Read the rest of this entry

, ,

I received the results of one of my tests on Wednesday, and caused a bit of a debate with my professor. It was in C++ class. One of the practical portion questions was pretty simply:

Write a piece of code that will use a for loop to calculate the number of digits in a positive integer (Hint use division by ten)

So I created a short, simple function:

int digits(int num)
{
int i;
for (i = 0; num > 0; i++, num /= 10);
return i;
}

To my surprise, I only got 3 out of 4 on that question. Apparently, the loop was supposed to start at 1 (rather than 0), and the test changed to > 9. This would result in 0 having one digit.

Read the rest of this entry

, ,