[Solved] How to use %d in C++, particularly in DrawText() [duplicate]
DrawText doesn’t work like printf or something like that. I advise you to look at the MSDN: MSDN: DrawText int DrawText( _In_ HDC hDC, _Inout_ LPCTSTR lpchText, _In_ int nCount, _Inout_ LPRECT lpRect, _In_ UINT uFormat ); You need to make a conversion to LPCTSTR, you can have a look into Google, if I find … Read more