OrionVeteran
Deity
Hopefully, this is an easy question. I am currently using the following format to create SDK string messages for debugging.
How can I change the code to convert an integer value (iNumberValue) into a string so that I can display the integer value in the message?
Code:
int iNumberValue;
CvWString szBufferA;
szBufferA = "A";
gDLL->getInterfaceIFace()->addMessage(getOwnerINLINE(), true, GC.getEVENT_MESSAGE_TIME(), szBufferA, "AS2D_COMBAT", MESSAGE_TYPE_DISPLAY_ONLY, getButton(), (ColorTypes)GC.getInfoTypeForString("COLOR_RED"), pUnitPlot->getX_INLINE(), pUnitPlot->getY_INLINE(), true);
How can I change the code to convert an integer value (iNumberValue) into a string so that I can display the integer value in the message?