outtext

The function is used to the string is output at the current location.

void outtext(LPCTSTR str);
void outtext(TCHAR c);

Parameters

str

The pointer to the string to be output.

c

The character to be output.

Return Value

None

Remarks

The function changes the current position to the end of the string. Therefore, you can use this function continuously to keep the output strings continuous.

Examples

// Output string
char s[] = "Hello World";
outtext(s);
// Output characters
char c = 'A';
outtext(c);
// Output value, first format the number output as a string
char s[5];
sprintf(s, "%d", 1024);
outtext(s);