Internationalization and localization tools


Character Manipulation Function

int _cputs(const char* string);

int _cputws(const wchar_t* string);

int _cputts(const TCHAR* string);

Internationalization (I18n) Function Overview

The _cputs function outputs the null-terminated string to the console, returning a non-zero value in the event of an error.

_cputws is the wide-character version of _cputs; the argument is a wide-character string.

_cputts is the Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either _cputs or _cputws.

See the MSDN Library for further details on this function.

I18n Issues

Use the appropriate version of the function as required for internationalization support.

See Character I/O for a discussion on non-ASCII character input/output in an internationalized application.

Recommended Replacements*

*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.

Character Manipulation Functions

 

Lingoport internationalization and localization services and software