How to print out symbols only in WindowProcedure

How can I print out symbols in console after I pressed some keys?

I have this code...
1
2
3
4
5
6
7
8
9
case WM_KEYDOWN:
		// wParam - Window Message returned after
		//			user pressed a key
		if (wParam >= 'A' && wParam <= 'Z' || wParam >= 0 && wParam <= 9)
		{}
		else
		{
			std::cout << (char)wParam << std::endl;
		}


But all it prints out is blank or a weird triangle... How can I print out symbols like ' > ' or ' # '
Topic archived. No new replies allowed.