Today I wanted to check out a set of floating value in my Visual C++ development environment.
You can use the OutputDebugString() to print a debug string in the VC++ output window when running a software. This is quite handy, but when working in C++, string handling can be tedious. I need to create a message and wrote something similar to this:
swprintf(msg, "Float: %f\n", my_float);