Programming Role Playing Games with DirectX

Started by
3 comments, last by Brain 8 years, 6 months ago
Open the book of the source code, the code will be wrong. error C2018: unknown character '0x97' Will not be related to the DIrectX version?
Advertisement

sounds like you're not running a us/english windows install. apparently the code requires a us/english windows install.

extended ascii code 97 hex is a small u with a single dot (single umlaut) over it - which is definitely not English! <g>.

Norm Barrows

Rockland Software Productions

"Building PC games since 1989"

rocklandsoftware.net

PLAY CAVEMAN NOW!

http://rocklandsoftware.net/beta.php

Perhaps a non-ASCII in the comments? (C++ states everything should be ASCII characters, including comments).

Open the source in another text editor, and check it.

Unicode vs multibyte in the project settings?

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

You also get this issue if you copy and paste from an example pasted into word or pdf. Both formats regularly beautify double quotes and hyphen to unicode characters which aren't valid c++. Type the example by hand if you haven't already and see if this helps...

This topic is closed to new replies.

Advertisement