Programming Role Playing Games with DirectX
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?
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>.
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.
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
Popular Topics
Advertisement