Hello-
I'm trying to figure out how to render the position of my mouse on-screen.
Is there anyway to convert an integer to a string? I don't want to use char[].
Code:static std::string mousex, mousey, text; itoa(mouse.GetX(), mousex, 10); itoa(mouse.GetY(), mousey, 10); strcat(text, "X: "); strcat(text, mousex); strcat(text, " Y: "); strcat(text, mousey); TextOut(hDC, 50, 50, text, strlen(text));