I'm looking for help on how to output some text to my window using the built-in 'TextOut' function in VS2010.
I've read a few examples on how to feed hdc and hwnd into another variable before then feeding that variable to TextOut - write to screen. I've tried to test this in a test cpp file, but I'm unable to get this working. Can someone help me out with a basic example on how to do this using TextOut as opposed to using functions from an imported library such as GLUT? I'm new to C++ graphics programming so please bear with me.
Thank you and I look forward to any responses.