This is a chaotic equation program I made, and it works fine- the problem is, there's something wrong with the Do { } while ( ) loop. If you run the program, and say, enter .0000000008 and then 60 (it doesn't matter, the first number has to be between 0 and 1), it'll display the output of the...
I changed it to a single equation mark (although I thought in C++ = is used to assign value while == is used in comparison), and I changed the other part to lsChar = (char)nChar;
Yet, I still receive:
C:\My Documents\Cppsp\Keyboard\KeyboardDlg.cpp(183) : error C2018: unknown character '0x91'...
ACK! ARGH!
I was learning VC++ smoothly, quickly, and I was doing great... Then, I get to keyboard input and BAM! I'm stuck.
Here's what I do:
ClassWizard. Add Function, WM_KEYDOWN.
Edit WM_KEYDOWN's code. After the TODO,
char lsChar;
HCURSOR lhCursor;
lsChar = char(nChar)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.