Item Level Viewer version 1.0r26

A month and half has passed since introduction of patch 1.13d and I’ve yet to see a standalone item level viewer, so I decided to help all the 1.13d players out there and make such tool.

It should be trivial to use (run, pick an item on the cursor, check the number in the program’s window).

Currently supported D2 versions: 1.13c and 1.13d.

Proper C, improper C++

I have recently been asked if it’s possible to write a legit C program that wouldn’t compile in C++ mode. Obviously, my answer was positive, but the question made me wonder just how many incompatibilities there are between these languages, and how many of these I can cram into a single test case? I’ve decided to try my hand at writing such test case, and after a while of research I ended up with a fairly decent attempt.

A few interesting C quizzes

I’ve stumbled upon some interesting C knowledge quizzes. They deal with subset of C that is almost completely compatible with C++ (except for headers), so they’re also valid for that language. There is no doubt that a major part of these questions is just bad programming, even if correct from the standard’s point of view, but I still felt good about myself after getting full scores without cheating.

I think I should mention that for the second link, it is wise to assume that sizeof(int) == 4

Hello, World!

1
2
3
4
5
6
7
#include <iostream>
#include <ostream>
 
int main()
{
	std::cout << "Hello, World!" << std::endl;
}

From now on, I’m going to write about my releases here.