[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbmserv-dev] Scramble in Visual C++



Hi,

Has anyone got Scramble to work successfully with Visual C++?

I can get it to compile and play okay without the dictionary, but as soon as I add the dictionary it crashes whenever it tries to check a word. The crash occurs in Scramble::Init():

		while (!feof(fp))
		{
			c1 = fgetc(fp);
			c2 = fgetc(fp);
			c3 = fgetc(fp);
			c4 = fgetc(fp);
			dawg[i++] = (c1 << 24) + (c2 << 16) + (c3 << 8) + c4;
		}

Any suggestions?

Cameron