Maybe because 'char' is 8 bits in C++ and 16 bits in C#?
C++: -1 (255) results in (ANSI-Codepage) in 'ÿ'
C#: -1 (65535) results in an illegal Unicode character.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.